Classic Pong

Classic Pong against a computer-controlled paddle.

  • Playable
  • Keyboard
  • 2026

The game loads when you click.

Under the hood

  • Circle–rectangle collision using the closest point on the edge
  • The computer paddle chases the ball's height within a tolerance margin
  • requestAnimationFrame loop with delta time from andevengine, the small engine written for these games
Technologies
  • TypeScript
  • Canvas 2D
  • andevengine

Other games

All games