Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New game]: Tower of Hanoi #1067

Open
1 task done
somilyadav7 opened this issue Jul 13, 2024 · 1 comment
Open
1 task done

[New game]: Tower of Hanoi #1067

somilyadav7 opened this issue Jul 13, 2024 · 1 comment

Comments

@somilyadav7
Copy link

🎮 Game Request

The Tower of Hanoi is a classic mathematical puzzle that consists of three towers and a set of disks of various sizes.

The objective of the game is to move all the disks from one tower to another, while following certain rules, using one of the towers as an intermediate.

Point down the features

Moving the disks: The player can interact with the game by selecting a disk from one rod and moving it to another rod, following the rules of the game.

Counting moves: The game keeps track of the number of moves the player has made and displays it to the player. This helps the player keep track of their progress and challenge themselves to solve the puzzle in fewer moves.

Checking if the puzzle has been solved: The game checks if the player has successfully moved all the disks to another rod, indicating that they have solved the puzzle. This triggers a completion notification to the player.

Restarting the game: The player can choose to restart the game at any point, which resets the game state and allows them to start again from the beginning.

Select program in which you are contributing

GSSoC24

Code of Conduct

@somilyadav7
Copy link
Author

@Durgesh4993 please review this and assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant