Skip to main content

About the project

We have recreated Pong and kept its retro style, but rebuilt it for 2026 so you play it online using your phone as the controller. We did this by running a Python Flask server on our laptop and making it public with ngrok, using Socket.IO (WebSockets) to send each phone’s movements to the game in real time.

How it works:

Open the game on a laptop, click START GAME, and scan the QR code with your phone. There’s no app to install, just a web link.
Tilt your phone to move your bat. The phone’s built-in motion sensors (the DeviceOrientation API) are read in the browser, and the angle is streamed to the game about 30 times a second. Players can also drag a finger as a fallback.
The game is drawn in pixel art on an HTML canvas: Pong becomes table tennis in a kitchen, with bats, a net and a ball that visibly bounces on the table.

Features:

Real-time multiplayer with phones as motion controllers
Shake your phone to smash the ball back at double speed
Spin: twist your phone as you hit to curve the ball, with air trails showing which way it’s spinning
Game modes: 1v1, 2v2 with four phones, and co-op against bots
Phone vibrates and flashes on hits and points
Retro sound effects generated in code

Built with

pythonjavascriptcsshtmlhtml5flaskngrokjetbrains airsocket.io

AI tools

Coded withClaude CodeClaude Opus 5.5

Prize Categories Entered

  • Event prize

    Retro Remix

    Submitted