The goal of the game is to move the entire stack of disks from the first peg to the last peg, following these rules: only one disk can be moved at a time; each move involves taking the top disk from one peg and placing it on another; and a disk can only be placed on top of a larger disk or on an empty peg. To play, click on a peg to select the top disk, then click on another peg to place it. The "Show AI Solution" button will demonstrate the optimal way to solve the puzzle, while the "Reset" button restarts the game.
Are you sure you want to reset the game? Your current progress will be lost.