Pong

The original. Player vs CPU. First to 7. W/S or arrow keys.

The original. Player vs CPU. First to 7. W/S or arrow keys.

Loading…
$ npx shadcn@latest add https://gamekitui.com/r/pong.json
canvas DesktopMobile
Keyboard
Mouse
Touch

W/S or arrow keys to move your paddle, or drag on the court.

Theming

This is a canvas game. Its playfield is driven by your shadcn --primary, --secondary, and --accent tokens — read at runtime and re-resolved when you toggle dark mode or swap a theme preset. Change your theme and Pong recolors with it. Try the Customize button in the corner.

Install

npx shadcn@latest add https://gamekitui.com/r/pong.json

The game ships as a single drop-in file. It fills its container, so wrap it in any sized element:

<Pong className="mx-auto w-full max-w-sm" />