A classic Pong game for two players on the same keyboard, running in the browser.
Built with TypeScript and bundled with Vite.
Node.js ^20.19.0 or >=22.12.0.
npm installnpm run startnpm run typechecknpm testRuns unit tests with Vitest.
For interactive mode:
npm run test:watchnpm run buildnpm run build runs type checks before creating the Vite bundle.
| Player 1 (red, left) | Player 2 (blue, right) | |
|---|---|---|
| Up | Q |
P |
| Down | A |
; |