Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17063

HOW TO MAKE AI PLAYER FOR PONG GAME

$
0
0

For some months now , i have been searching for how to make an AI pong game, but i don't get a useful or helpful answer, but now i think i have it now, if you think u have a better idea , about how to make a better AI for a pong game. let me know on the comment.

i will share how i made my, i created a variable that keep track of the ball position, so i will know where the ball is then i assign the y axis position of the tracker to the AI , making it this way make the AI move along wi


Viewing all articles
Browse latest Browse all 17063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>