All projects

Retro Pong

Game, 2026

Pong written from scratch on a canvas with every sound generated live, and you can play it right here.

View the source
Retro Pong's title screen

The story

I rebuilt Pong to see how good I could make it feel with nothing but a canvas and plain JavaScript. There's no framework and no game engine, so the game loop, the collisions and three AI difficulty levels are all written by hand, and every sound is generated live with the Web Audio API. It has local two player, a CRT look, and first to 7 wins. You can play it right on this page.

What I learned

  1. How the game feels comes from small details, like the angle the ball leaves the paddle and the way the AI misses, much more than from the physics being accurate.
  2. Generating every sound with Web Audio meant there were no audio files to load, so the whole game opens instantly.
  3. The three difficulty levels are really three different amounts of mistakes I let the AI make while it tracks the ball.
  4. Writing a game loop by hand once was worth it, because it is the part every engine quietly does for you.

What it’s built with

Game

  • HTML5 Canvas
  • Vanilla JavaScript
  • CSS

Sound

  • Web Audio API

Hosting

  • Static files
  • Runs fully in the browser

If you want the longer version of this one, email me.

Next projectEwok HopGame, 2026