A simple ping-pong game (similar to table tennis) written purely in JavaScript and HTML Canvas where the user can play against the AI-enabled computer model !


My game doesn't have a restart button. I tried implementing it but kept facing errors so user has to refresh the game page in order to restart or else after one round the application automatically restarts and keeps going on and on.

What's next for Ping-Pong Game using JavaScript

  • Restart button
  • Better UI
  • mobile supportive version
  • difficulty levels

Built With

Share this project: