Idea · Oct 1, 2026

Lag Compensation Arena

A networking assignment where students build an authoritative-server multiplayer tank game on a real city map, then add client prediction, server reconciliation, interpolation, and lag compensation while a built-in network simulator injects latency and packet loss.

What it would do

A Show HN multiplayer game where players destroy buildings on a world map with tanks is a perfect hook for teaching netcode, a topic most students only meet as 'it feels laggy'. Students receive a starter with OpenStreetMap building footprints for a few city blocks and a naive client that sends inputs and waits for the server. Milestone 1 builds the authoritative server simulation over WebSockets with a fixed tick rate; Milestone 2 adds client-side prediction and server reconciliation with input sequence numbers; Milestone 3 adds entity interpolation for remote players; Milestone 4 implements server-side lag compensation (rewinding hitboxes to the shooter's view time) and documents the fairness trade-offs. A provided network simulator proxy adds configurable latency, jitter, and loss, and a replay tool records both client and server views side by side so students can show, with evidence, that each technique fixes a specific artifact.

Key features

  • Starter kit with OSM building footprints converted to destructible polygons
  • Authoritative fixed-tick server with input sequence numbers and state snapshots
  • Network conditions proxy (latency, jitter, packet loss) controllable from a debug panel
  • Side-by-side client vs. server replay viewer for diagnosing rubber-banding and unfair hits
  • Autograded scenarios: scripted bots under 150 ms latency must see bounded position error and consistent hit registration

More in Systems & Hardware

Program Alarm 1202

A playable simulation of the Apollo Guidance Computer's priority Executive during the lunar landing: you fly the descent while a faulty radar switch steals cycles, and you watch Margaret Hamilton's restart design shed low-priority jobs so landing guidance survives.

BuiltSystems & HardwareProduct for a businessOct 8, 2026

Heap Arena Replay

Paste or generate a malloc/free trace and watch a simulated heap allocate, split, coalesce and fragment under first-fit, best-fit, next-fit and segregated free lists, with auto-generated quiz questions for systems courses.

BuiltSystems & HardwareProduct for a businessOct 6, 2026

Build Your Own Agent Orchestrator

Students implement a minimal multi-agent orchestration runtime from scratch - task queue, tool registry, message passing, failure handling - to see what frameworks like AutoGen or Google's new ax runtime actually do under the hood.

Systems & HardwareClass assignmentLargeSep 23, 2026

Protocol Interop Lab

Students design and implement a custom agent-to-agent communication protocol, build two cooperating AI agents that use it to solve a shared problem, then test interoperability with a stranger's implementation on Interop Day.

Systems & HardwareClass assignmentLargeSep 13, 2026

All 39 ideas in Systems & Hardware →