05 · The smallest full-stack thing · 2024
Noughts & Crosses
Deliberately minimal — server-side game state, and a client that ships no JavaScript.
Overview
Tic-tac-toe served by FastAPI with a plain HTML and CSS frontend — two-player, all game state server-side. A deliberate baseline: the simplest architecture that is still honestly full-stack.
What it does
- Entire game state is a nine-element list held on the server
- Zero client-side JavaScript — every move is a plain form round-trip
- Sub-millisecond move processing; the network is the only real latency
PythonFastAPIHTMLCSSUvicorn