where do i start with ai for a basic pong game.
shuv-it
50/50 Robotics and Software
I think a good idea would be to think about the goals of the computer player.
It''s main goal is to stop the ball going past its bat. It has to do this by calculating where the ball is going to be, then moving itself to that position.
Depending on your pong game''s complexity, it might also want to hit the ball to awkward places for you to be, by moving its bat when it hits the ball.
Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
It''s main goal is to stop the ball going past its bat. It has to do this by calculating where the ball is going to be, then moving itself to that position.
Depending on your pong game''s complexity, it might also want to hit the ball to awkward places for you to be, by moving its bat when it hits the ball.
Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
To paraphrase your "from" remark:
If you can''t figure out what the paddle in pong needs to do because you''re young, it needs to SHUV IT.
Dave Mark - President and Lead Designer
Intrinsic Algorithm - "Reducing the world to mathematical equations!"
RIPPL Sports - NFL Statistical Analysis and Prediction System
If you can''t figure out what the paddle in pong needs to do because you''re young, it needs to SHUV IT.
Dave Mark - President and Lead Designer
Intrinsic Algorithm - "Reducing the world to mathematical equations!"
RIPPL Sports - NFL Statistical Analysis and Prediction System
Dave Mark - President and Lead Designer of Intrinsic Algorithm LLC
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-founder and 10 year advisor of the GDC AI Summit
Author of the book, Behavioral Mathematics for Game AI
Blogs I write:
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play
"Reducing the world to mathematical equations!"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement