ChromeGaming / Spaceship-escort

"Spaceship Escort" is a game where players protect spacecraft from threats in space. Players control escort ships, defend against attacks, and complete missions involving navigation, combat, and strategic decisions.
https://chromegaming.github.io/Spaceship-escort/
MIT License
27 stars 51 forks source link

[New Feature]: Restart Button #74

Open sujal-98 opened 1 month ago

sujal-98 commented 1 month ago

๐ŸŽฎ 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

github-actions[bot] commented 1 month ago

Hey @sujal-98! ๐Ÿ‘‹

๐Ÿ‘‰ Thanks for opening this issue. We appreciate your contribution and will look into it as soon as possible. ๐Ÿ‘‰ Donโ€™t forget to star our Spaceship Escort and Follow Us on GitHub ๐Ÿ‘‰ Make sure you join our Discord, we have created separate channels for all projects

nishant0708 commented 4 weeks ago

HEY Can you please assign me this issue

Gokilp commented 3 weeks ago

i wil working on please assign to me

Pjdash commented 3 weeks ago

I will design the restart button as mentioned above plz assign me this issue