Pong LAN
Classic Pong for two players, on the same keyboard or over a local network.
- Role
- Game Developer
- Status
- Live

Pong LAN reimagines classic Pong as a two-player game built with Godot 4 and GDScript. Matches go to five points, with automatic serves after each point, glowing paddles and separate soundtracks for the menu and gameplay. Players can share a keyboard or connect two devices on the same local network. LAN matches use ENet over UDP. The host calculates paddle movement, ball physics, collisions and scoring, while the guest sends inputs and receives the match state with movement smoothing. Shared pause and a countdown coordinate the return to play. Controls can be remapped and saved between sessions, with on-screen key indicators that respond to input. The menu features an automated match in the background, and audio transitions smoothly between screens. The web version supports shared-keyboard play; LAN is available in the desktop version because browsers do not support the project's ENet transport.
Key features
- Two players on the same keyboard, on desktop and web.
- LAN rooms for two devices, with a player acting as host.
- Synchronized ball, paddles and score, with guest-side movement smoothing.
- Matches to five points and automatic serves after scoring.
- Shared pause and a countdown to resume LAN matches.
- Saved remappable controls and interactive on-screen key indicators.
- Glowing paddles, sound effects and smooth music transitions.
Architecture
Godot 4 with GDScript and ENet over UDP, using a host-authoritative simulation. A scene-based Audio Autoload keeps playback and audio references available across screens.
- The host simulates movement, physics, collisions and scoring; the guest sends inputs.
- Guest-side smoothing reduces visual jumps in the received match state.
- The connection stays active during shared pauses, with host-coordinated resumption.
- The web export uses shared-keyboard play without the desktop ENet transport.