Poll: Have you played the original Atari Pong?
You do not have permission to vote in this poll.
Yes (I really have)
100.00%
14 100.00%
No (I want to)
0%
0 0%
Total 14 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pong AI
#37
Here are some ideas to include ontop of pong to make the game a bit more challenging. It will remove the need for "error" to be emulated (pretend AI with absolutely no learning).

1. Make the paddle velocity slow enough for even a perfect algorithm to intercept the ball.

2. Allow the paddles to be positioned at different angles; this may be a continuous angle, or a discrete angle. Either way, there is opportunity here for the program to actually -learn- rather than be programmed what to do.

The agent playing the game should be aware of at least 2 variables: the angle of the enemies paddle and the distance from itself to the ball (no sense of direction).

You could then use a basic artificial neural network (a perceptron would suffice, actually) to control the movement predictions and you could use a really simplistic genetic algorithm to decide which direction to move. Basically you want the bot to learn about the effect of the enemy paddle on the ball's deflection direction.

It might actually be quite fun to change the way pong is played a bit - have the paddles moving at a constant velocity and allow the players to modify the velocity of the paddles (taking into account a maximum speed, of course). When the paddles reach the top/bottom of the screen, they bounce back with elastic deflection, etc.

By adding this much complexity to the game, you could at least start to create a small opponent worthy of being said to "learn". Wink

These ideas would really be better suited for a graphical version of pong rather than textmode.

-shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Reply


Messages In This Thread
Pong AI - by j2krei08 - 03-27-2005, 12:05 AM
Pong AI - by Mitth'raw'nuruodo - 03-27-2005, 05:50 AM
Pong AI - by thegrogen - 03-27-2005, 06:01 AM
Pong AI - by Mitth'raw'nuruodo - 03-27-2005, 06:03 AM
Pong AI - by Mitth'raw'nuruodo - 03-27-2005, 07:40 AM
Pong AI - by Rattrapmax6 - 03-27-2005, 07:54 AM
Pong AI - by Mitth'raw'nuruodo - 03-27-2005, 07:59 AM
Pong AI - by j2krei08 - 03-29-2005, 01:09 AM
Pong AI - by Mitth'raw'nuruodo - 03-29-2005, 04:54 AM
Pong AI - by j2krei08 - 03-29-2005, 06:40 PM
Pong AI - by KiZ - 03-29-2005, 10:19 PM
Pong AI - by j2krei08 - 03-30-2005, 12:59 AM
Pong AI - by Mitth'raw'nuruodo - 03-30-2005, 02:42 AM
Pong AI - by Rattrapmax6 - 03-30-2005, 06:36 AM
Pong AI - by Mitth'raw'nuruodo - 03-30-2005, 09:15 AM
Pong AI - by KiZ - 03-30-2005, 02:32 PM
Pong AI - by Anonymous - 03-30-2005, 04:36 PM
Pong AI - by TheDarkJay - 03-30-2005, 05:15 PM
Pong AI - by KiZ - 03-30-2005, 05:44 PM
Pong AI - by Rattrapmax6 - 03-30-2005, 09:34 PM
Pong AI - by Anonymous - 03-31-2005, 01:02 AM
Pong AI - by Mitth'raw'nuruodo - 03-31-2005, 01:18 AM
Pong AI - by TheDarkJay - 03-31-2005, 02:39 PM
Pong AI - by Mitth'raw'nuruodo - 04-01-2005, 01:51 AM
Pong AI - by TheDarkJay - 04-01-2005, 06:29 PM
Pong AI - by Mitth'raw'nuruodo - 04-02-2005, 01:24 AM
Pong AI - by Rattrapmax6 - 04-02-2005, 01:33 AM
Pong AI - by Mitth'raw'nuruodo - 04-02-2005, 01:37 AM
Pong AI - by TheDarkJay - 04-02-2005, 05:49 PM
Pong AI - by Rattrapmax6 - 04-02-2005, 06:43 PM
Pong AI - by Mitth'raw'nuruodo - 04-03-2005, 06:26 AM
Pong AI - by TheDarkJay - 04-03-2005, 07:37 PM
Pong AI - by Mitth'raw'nuruodo - 04-03-2005, 08:19 PM
Pong AI - by Rattrapmax6 - 04-03-2005, 09:06 PM
Pong AI - by TheDarkJay - 04-04-2005, 09:35 PM
Pong AI - by Mitth'raw'nuruodo - 04-05-2005, 12:56 AM
Pong AI - by shiftLynx - 04-05-2005, 01:10 AM
Pong AI - by Pyrokid - 04-13-2005, 05:25 AM
Pong AI - by Rattrapmax6 - 04-13-2005, 05:39 AM
Pong AI - by Pyrokid - 04-13-2005, 05:41 AM
Pong AI - by Rattrapmax6 - 04-13-2005, 05:51 AM
Pong AI - by Mitth'raw'nuruodo - 04-14-2005, 12:57 AM
Battle Pong? :P - by Lithium - 05-18-2005, 06:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)