Skip to content

Feature/toh#483

Merged
steam-bell-92 merged 2 commits into
steam-bell-92:mainfrom
developer-yash03:feature/toh
May 20, 2026
Merged

Feature/toh#483
steam-bell-92 merged 2 commits into
steam-bell-92:mainfrom
developer-yash03:feature/toh

Conversation

@developer-yash03
Copy link
Copy Markdown
Contributor

Description

Enhanced the Tower of Hanoi project in the Web App by adding interactive manual play modes and step-by-step visualizations.

Key Features Implemented:

  • Step-by-Step Solver: Added a new Step button alongside the auto-solve functionality, allowing users to manually advance through the algorithm's optimal solution one step at a time for better learning.
  • Manual Play Mode: Users can now click directly on the canvas towers to pick up and place disks manually.
  • Unrestricted Movement: In practice mode, users are free to experiment with any moves (including placing larger disks on smaller ones), promoting unrestricted puzzle exploration.
  • Undo Capability: Introduced an interactive Undo button that safely reverts manual moves and accurately recalculates the active move count.
  • Dynamic Move Tracking: The Moves counter accurately increments and decrements in real-time for both automatic steps and manual interactions.

🔗 Linked Issue

Closes #49


📋 Contribution Checklist

  • My code strictly adheres to the project guidelines (Standard library only, procedural code, clean spacing).
  • I have verified that my files are placed in the correct directory.
  • I have tested my changes thoroughly on my local machine.
  • I have included interactive emojis and clean console/UI outputs.
  • GSSoC 2026: I have been formally assigned to this issue and noted it above.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

@developer-yash03 is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@steam-bell-92 steam-bell-92 merged commit 7ab9085 into steam-bell-92:main May 20, 2026
3 of 4 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.

We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone.

If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request.

Thanks again for your support! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Adding Manual Solve and Step-by-Step Solver Features in Tower Of Hanoi

2 participants