Full walkthroughs
01Tree
Filesystem mutate + cycles
02Fan-out
Logger destinations
03Games
Turn + win rules
04Stretch
Chess legality
- Logger · complete solution — LogRecord, Destination = Formatter × Sink, per-destination locks.
- In-memory filesystem · complete solution — entries, path helpers, move + cycle detection, locks.
- Connect Four · complete solution — Game/Board/Player, direction-vector wins, BotEngine.
- Tic Tac Toe · complete solution — 3×3, eight win lines, draw-before-mislabel.
- Chess game · complete solution — Piece polymorphism, pseudo-legal vs legal, check/mate.
Concurrency callouts
Order to practice
Treat this hub as a practice queue, not reading material. For filesystem / logger / games: timer on, phone away, talk out loud.
- Day 1 — Filesystem: mkdir/create/ls/move with cycle detection. Complete solution.
- Day 2 — Logger: one LogRecord → multiple Destination with per-sink lock. Complete solution.
- Day 3 — Tic Tac Toe then Connect Four: gravity + direction wins. TTT · C4.
- Day 4 (stretch) — Chess: Piece polymorphism + pseudo-legal vs legal. Complete solution.
- Day 5 — Redo logger with an async sink follow-up (coordination family).