MLSysBook Playground

Fast, playable systems challenges across all four volumes.

Short browser games that turn a systems tradeoff from each volume into a playable decision.

Pick a volume, play a round, then read the systems takeaway below the game. Try another strategy and see what changes.

Try a first run

Browse by volume

Volume I: Foundations

Six quick challenges about data, memory, model size, and hardware limits.

Tensor Tetris gameplay preview

Tensor Tetris

Pack training memory before you OOM.

Parameters anchor at the bottom; activations, gradients, and optimizer states fall in their real proportions. Activations dominate — and that’s why you’ll OOM.

Play Tensor Tetris

Read: Vol I: Training Memory Constraints
🕹️ Arcade DNA: Tetris meets Dr. Mario

Pulse Prune gameplay preview

Pulse Prune

Shrink a network without breaking it.

A neural network on a canvas. You’ve got 45 seconds to remove most of the weights without crashing accuracy. The faint ones are safe; the bright ones are doing real work.

Play Pulse Prune

Read: Vol I: Model Compression & Pruning
🕹️ Arcade DNA: Operation meets Jenga

Quantization Sharp Shot gameplay preview

Quantization Sharp Shot

Compress a model before the target blurs.

Shoot a downrange target with per-layer precision dials as your sight. Lower precision saves bits but blurs, jitters, or drifts the target depending on which layer you compressed.

Play Quantization Sharp Shot

Read: Vol I: Mixed-Precision Quantization
🕹️ Arcade DNA: Silent Scope meets Duck Hunt

Batch Size Balancer gameplay preview

Batch Size Balancer

Push throughput to the edge of OOM.

A tug-of-war against time. Increase batch size to process more images per second, but watch the memory gauge—if it spikes into the red, you OOM and lose the run.

Play Batch Size Balancer

Read: Vol I: Throughput vs. Memory
🕹️ Arcade DNA: Flappy Bird (staying in the safe band)

Data Loader Dash gameplay preview

Data Loader Dash

The CPU preparing data before the GPU starves.

Data blocks slide toward a glowing GPU. Type or tap the matching letter in the processing zone to prepare each block. Miss too many and the GPU starves.

Play Data Loader Dash

Read: Vol I: Data Engineering
🕹️ Arcade DNA: Overcooked meets Typing of the Dead

Roofline Rider gameplay preview

Roofline Rider

Ride from the memory limit to the compute limit.

Ride a glowing kernel from the sloped memory limit to the flat compute limit. Steer toward the cyan roof, dodge stalls, and reach the finish line.

Play Roofline Rider

Read: Vol I: Hardware Acceleration
🕹️ Arcade DNA: Flappy Bird meets Race The Sun

Volume II: Scaling

Eight games about training and serving when one machine is not enough.

Gradient Lander gameplay preview

Gradient Lander

Balance batch size and learning rate to converge safely.

Pilot your model down the loss landscape to the global minimum. “Thrust” increases your Batch Size—giving you stable descent, but rapidly burning through your limited VRAM budget. Tilt to steer your Learning Rate. Hit the minimum too fast, or run out of VRAM, and your model diverges.

Play Gradient Lander

Read: Vol II: Large Batch Training & Convergence
🕹️ Arcade DNA: Lunar Lander (1979)

Pipeline Pacer gameplay preview

Pipeline Pacer

Keep the GPUs fed without bubbling.

Schedule micro-batches across four pipeline stages. If you send too many forwards, memory fills up; if you pause too long, later stages sit idle (pipeline bubble). Balance forward and backward scheduling to maximize throughput.

Play Pipeline Pacer

Read: Vol II: Pipeline Parallelism
🕹️ Arcade DNA: Flight Control meets Overcooked

MoE Router gameplay preview

MoE Router

Route tokens to the right experts before they expire.

Colored tokens descend toward four experts. Press 1–4 or tap an expert to route the oldest token to its matching destination. A wrong route or a missed token ends the run.

Play MoE Router

Read: Vol II: Mixture of Experts
🕹️ Arcade DNA: Missile Command meets Fruit Ninja

Checkpoint Roulette gameplay preview

Checkpoint Roulette

Fault tolerance and checkpointing at scale.

Hold Spacebar to train, then release to save your progress. Each checkpoint pauses training while it writes; a node failure during the write restores the previous save. Reach 100% before the one-minute timer runs out.

Play Checkpoint Roulette

Read: Vol II: Fault Tolerance
🕹️ Arcade DNA: Push-Your-Luck

All-Reduce Rhythm gameplay preview

All-Reduce Rhythm

Keep the gradients flowing in a perfect ring.

GPUs are arranged in a ring. Follow the displayed GPU order and tap each one on the beat to send a gradient chunk. Miss a slot and your combo resets; the round ends after 30 seconds.

Play All-Reduce Rhythm

Read: Vol II: Collective Communication
🕹️ Arcade DNA: Guitar Hero meets Pipe Mania

Topology Tycoon gameplay preview

Topology Tycoon

Build the fabric, avoid the bottlenecks.

You have 8 GPUs and 20 seconds to build their network topology. Click between two nodes to toggle their connection: None, InfiniBand, or NVLink. Once the run phase begins, packets will flood the network. Maximize your delivered GB/s!

Play Topology Tycoon

Read: Vol II: Network Fabrics
🕹️ Arcade DNA: SimCity meets Mini Motorways

KV Cache Packer gameplay preview

KV Cache Packer

Fit the prompts before memory fragments.

A Tetris-like grid of requests. Place contiguous blocks to serve them. As they finish at different times, your memory fragments. Unlock Paged Mode to shatter requests into 1x1 blocks and defrag your cache!

Play KV Cache Packer

Read: Vol II: LLM Serving
🕹️ Arcade DNA: Tetris meets Sandfall

Cluster Commander gameplay preview

Cluster Commander

Schedule jobs without fragmenting the fleet.

Schedule 1x1, 2x2, and 4x4 jobs on an 8x8 GPU cluster. Don’t let scattered small jobs fragment the cluster, or a massive 4x4 pre-training run will block the entire queue and kill your utilization!

Play Cluster Commander

Read: Vol II: Fleet Orchestration
🕹️ Arcade DNA: Block Puzzle

Volume III: Agentic Systems

Keep a digital agent’s state useful and its tool actions recoverable.

Context Cache gameplay preview

Context Cache

Keep the next action’s evidence inside a limited working set.

Pick the facts a tool call will need while a five-slot context budget forces you to evict the rest. Four short missions reveal whether the next step has enough evidence.

Play Context Cache

Read: Vol III: Context Working Sets
🕹️ Arcade DNA: Inventory Puzzle

Tool Trail gameplay preview

Tool Trail

What should an agent do when a tool call fails?

An agent’s tool call failed. Retry it, undo a prior effect, or stop and inspect. A careless retry can duplicate a real-world change.

Play Tool Trail

Read: Vol III: Tool Actuation & Recovery
🕹️ Arcade DNA: Choose Your Own Adventure

Volume IV: Physical AI

Dispatch physical actions before their deadlines and keep unsafe proposals from crossing the boundary.

Latency Line gameplay preview

Latency Line

A correct action can still arrive too late.

Choose speed and quality at each stage of a sense–plan–act cycle. Watch the latency strip and meet the deadline before you dispatch.

Play Latency Line

Read: Vol IV: Action Latency
🕹️ Arcade DNA: Pipeline Puzzle

Safety Gate gameplay preview

Safety Gate

Keep the rover inside the safe set.

A learned policy proposes moves; you decide what crosses into actuation. Allow safe steps, project unsafe ones, or brake before the tick budget runs out.

Play Safety Gate

Read: Vol IV: Safety Enforcement
🕹️ Arcade DNA: Grid Puzzle

🚧 Early development · iterating fast

MLSysBook Playground is part of mlsysbook.ai. The games share design vocabulary with the textbook — compute blue, data green, error red, MIT accent — so a figure in the book and a game in your browser feel like the same world.