RULES
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 consists of taking the top disk from one peg and placing it on another peg.
- A disk can only be placed on top of a larger disk (or on an empty peg).
Game Instructions:
- Click on a peg to select the top disk.
- Click on another peg to place the selected disk there.
- The "Show AI Solution" button will let the computer demonstrate the optimal solution.
- The "Reset" button will restart the game.