TMFKSOFT commented on a Page, Pong 1.0  -  May 18, 2012

The AI!
IS SIMPLE! :)
You can do some maths to check where the Ball is. If its within 64 pixels of the second bat make the bat keep adding or taking 5. If you have a direction variable on the ball then you need to check the direction, give it some thought. I'm a games student at college so im willing to help. I'm writing my own version of this in mIRC myself!

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.