Skip to content

[Feature Request]: Add Play Again button after game ends #43

Description

@vanshika147

Description

The game currently ends with visual feedback after the timer runs out, but there's no direct option to restart the game. To improve user experience and encourage replayability, a "Play Again" button should be added at the end of the game.

Expected Behaviour

  1. After the timer finishes, the game ends as usual.
  2. A "Play Again" button appears on the screen.

When the button is clicked:

  1. Score resets to 0.
  2. Timer resets to 0.
  3. Moles start appearing again.
  4. Any end-game messages or overlays are cleared.

Current ending screen

Image

Kindly assign me this issue @Samrudhipawar

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions