Pong clone

Screenshoot du projet Pong clone

I made a clone of the pong game. There are no logic about leveling just the basic game. The color slightly changes his hue every frame of the animation. The angle rebounce of the ball is calculated in function of the position of the collision on the paddle. There is a small bug: if the computer catches the ball with the bottom or top edge of his paddle, the ball will go down or up and the computer will follow the ball and disappear of the window.

  • TypeScript