Retro Pong (vertical)
NPM demo page
Currently in development version

The field below is the package itself: one empty <div>, one new PongGame(...), nothing else. Every control on this page is a config option you get with it, and the settings panel behind the gear writes yours out as JSON. Read the quick start, or go to the main page to play the finished game.

Admin mode adds isAdmin: true to the constructor so you can try every tuning control. Leave it out of the version your visitors get.

Player 1
Controls
Game

← → to move  •  P pause  •  B cycle image

I initially created this Pong game in plain JavaScript as a fun side project. Over time I kept adding new features and eventually packaged it as a reusable library. It’s been great to see a personal project grow like this, especially since it was even used as a live dashboard widget at work for a while.