Logic · 600 levels in the app
A classic recursive puzzle. Move a stack of disks from the first peg to the last, one disk at a time, without ever placing a larger disk on a smaller one.
Tap a peg to pick up its top disk, then tap another peg to place it there. You cannot place a larger disk onto a smaller one. Each disk has its own target peg, marked with a dashed outline: plan your moves so every disk lands on its marked peg in the fewest moves possible.
Move every disk onto the peg marked by its dashed outline, in the fewest moves possible.