Back to this category

Tower of Hanoi

Move the whole stack to the right peg: only the top disk moves, and a larger disk may never sit on a smaller one.

Tap a source peg (it highlights), then tap the destination peg to move.

Smaller disks look narrower; watch the optimal demo to see the recursive pattern.

Gameplay ideas reference the MIT-licensed mini-js-games-hub by ritaban06; this site reimplements logic in TypeScript/Vue with localized copy.