The famous arcade pong game written in Javascript
Simple physics game
Further changes
- The length of the paddle can change during time
- Translate the ball and paddles into objects
- Add a better relation to detect the collision according to the shape of the ball (I guess a simple Pythagore inequation)
- Add difficulty depending on the speed movement of the AI