
Tower of Hanoi
Tap a peg to lift its top disk and tap another to set it down, moving the whole tower without ever putting a big disk on a small one; choose 3 to 7 disks or watch it solve itself.
Built with
How it was made
Written with Claude Code as a single web page with no libraries; the demo recomputes the optimal next move from whatever position is on the board, so it can take over halfway through a game.