Idea · Aug 24, 2026
Consensus Game
A real-time multiplayer browser game where players are nodes in a distributed network trying to reach consensus while an adversary player injects faults, built by students as a capstone for a distributed systems unit.
What it would do
Students build and then play Consensus Game as a multi-week capstone assignment. Honest-node players must agree on a single value within a time limit by passing messages through a shared channel; one adversary player can intercept, delay, duplicate, or drop messages to prevent agreement. The game visualizes the network topology and message flow in real time. Students first analyze their replays to diagnose why consensus failed, then extend the codebase to add a simple Raft-like leader election as a countermeasure. The project combines distributed-systems theory, multiplayer networking, and game design in one deliverable students are proud to demo.
Key features
- Real-time multiplayer lobby with role assignment (honest node vs. adversary)
- Visual network graph showing live message flow and per-node consensus state
- Adversary control panel: drop, delay, duplicate, or corrupt messages in flight
- Post-game replay viewer with annotated timeline for post-mortem analysis