ChromeGaming / GameSphere

In this platform we are here to play games with our friends at a same time without any interuption Our primary goal is to create a plateform where two or more friends can gather and play games online (such as multiplayer) without having to download any software or tools to their computers or mobile devices.
https://gamesphere-multiplayer.github.io/GameSphere/
GNU General Public License v3.0
75 stars 161 forks source link

[New game]: Tower of Hanoi #1067

Open somilyadav7 opened 1 month ago

somilyadav7 commented 1 month ago

🎮 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 commented 1 month ago

@Durgesh4993 please review this and assign