Pong Redux is a clone of the pioneering arcade game from 1972.
-
This game is fully done in JavaScript using the
<canvas>HTML5 element. -
Buzz JavaScript library is used for HTML5
<sound>. -
A simple AI that tracks the ball and can be adjusted by changing the computers paddle speed to increase difficulty.
-
Collision detection is standard Axis Aligned Bounding Boxes.
-
If the paddle is moving when it hits the ball, speed is added to the ball. The ball will move faster or slower depending on the direction of the ball and the direction of the paddle.
jsFiddle example