Spaceship-escort icon indicating copy to clipboard operation
Spaceship-escort copied to clipboard

[New Feature]: Restart Button

Open sujal-98 opened this issue 8 months ago • 4 comments

🎮 feature Request

feature logic and basic description

The current implementation of the web application includes a home button that is initially hidden and only becomes visible when the cursor is hovered over it. To enhance the user experience, we need to add a "Restart" button next to the home button. This restart button should allow users to reset the game state and start over from the same wave without having to go the home page and start mission again.

Point down the features

feature points

1. Initial State Hidden The restart button is initially hidden ensuring it does not appear until the cursor is hovered over it.

2. Button Placement The restart button is placed next to the home button, maintaining a good UI layout.

3. Click Event Handling The restart button has an event listener attached to it, which triggers a function to reset the game state when clicked.

Select program in which you are contributing

Other

Code of Conduct

  • [X] I follow CONTRIBUTING GUIDELINE of this project.

sujal-98 avatar May 28 '24 17:05 sujal-98