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

Title: Adding Tower of hanoi game project #2981

Open
Praneeth-2602 opened this issue Oct 23, 2024 · 0 comments
Open

Title: Adding Tower of hanoi game project #2981

Praneeth-2602 opened this issue Oct 23, 2024 · 0 comments

Comments

@Praneeth-2602
Copy link

Tower of Hanoi Game Project Description

Description:
Add a Tower of Hanoi game implementation using JavaScript. This will involve creating a visually appealing and interactive game where players can solve the Tower of Hanoi puzzle by moving disks between rods.

Key Features:

  • Visual Representation: Use HTML, CSS, and JavaScript to visually represent three rods and several disks of different sizes.
  • Interactive Disk Movement: Implement functionality for dragging and dropping disks between rods, ensuring that larger disks cannot be placed on smaller disks.
  • Move Counter: Display the number of moves the player has made and highlight the minimum possible moves to solve the puzzle.
  • Difficulty Levels: Allow players to choose the number of disks (3-8) to adjust the difficulty level.
  • Reset and Start Buttons: Provide buttons to reset the game and start over.
  • Game Over Condition: Include a feature to detect when the player has successfully moved all disks to the target rod.
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