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

More in Systems & Hardware

Browser OS Scheduler Lab

Students build a fully browser-native OS process scheduler simulation using Web Workers and SharedArrayBuffer, then add a Claude-powered inspector that explains scheduling decisions in plain English.

Systems & HardwareClass assignmentLargeSep 4, 2026

Chaos Tester's Toolkit

Students build a three-node HTTP key-value store, then implement a deterministic chaos testing harness that kills nodes, delays messages, and partitions the network. They observe real CAP theorem trade-offs in their own system and write a failure mode postmortem.

Systems & HardwareClass assignmentLargeSep 3, 2026

Event Log Time Machine

Students build a journal app using event sourcing: every change is an immutable log entry, and a time-travel UI lets them rewind the app to any past state, teaching distributed-systems patterns through a complete, tangible project.

Systems & HardwareClass assignmentLargeAug 22, 2026

Build Your Own Database Engine

A structured multi-week assignment where students implement a minimal relational database from scratch: a B-tree storage engine, a SQL parser for a core subset of SQL, and a naive query optimizer. Students finish with a working database they can query from Python.

Systems & HardwareClass assignmentLargeAug 19, 2026

All 39 ideas in Systems & Hardware →