Skip to content

πŸ’‘ [Feature]: Manual Play and Step-by-Step Solver Modes for Tower of Hanoi πŸ—ΌΒ #502

@siri-004

Description

@siri-004

❓ Problem Statement

Currently, the Tower of Hanoi application only supports an Automatic Solve function. While this successfully demonstrates the algorithm, users cannot interactively play the game themselves or pause/step through the solution to understand the recursive logic at their own pace.

πŸš€ Proposed Enhancement

1. Step-by-Step Solver

Add a β€œStep” button alongside the existing auto-complete functionality. Instead of solving the puzzle instantly, users can click the button to move the solution forward one step at a time, making it easier to understand how the algorithm progresses.

2. Manual Solve Mode

Add a practice mode where users can manually move disks between rods and try solving the puzzle themselves while following the Tower of Hanoi rules. This would allow learners to test their understanding interactively.

πŸ› οΈ Suggested Implementation

Current State of Game

Image
  • I am a registered GSSoC 2026 contributor.
  • I would like to implement this feature myself.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions