All games / Eric Tedjamulia / Java to Canvas

Pong

Move the bottom paddle with the mouse, touch, or arrow keys. Space pauses. First to 10 wins.

This project needs a browser with HTML canvas support.
Port notes and original source

Ported from PONG~1.JAV (December 30, 2003). Keeps the 40 ms simulation, original images, computer paddle behavior, scoring, and hit-angle zones. Browser input is bounded to the court.

Original Java archive. The original source and artwork were preserved. This version runs in JavaScript and HTML canvas without a Java plugin. A local copy can also be opened directly from its index.html file.