You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Enhancement]: Add Restart/Play Again button to Minesweeper #5256
Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Currently, there is no way of restarting Minesweeper after losing or beating the game other than to refresh the entire page, which may be unintuitive to new players.
Describe the solution you'd like
Add a button that appears when a game ends. After a loss, the button could display "Restart", and after a win, it could display "Play Again". Selecting the button would reset the game board and start a new game without requiring the player to refresh the page.
A possible implementation would be:
Detect when the player reaches a win or loss state.
Display a restart/play again button alongside the end-of-game message.
When the button is clicked, reset the game state variables, regenerate the board, and hide the button until the next game ends.
Hey @heringston ! , This issue is already assigned to @JonasCookBeavs. 💗
You can work on other issues 🚀
If there is anything wrong you can contact us on Discord🕹️👀
Activity
kunjgit commentedon May 29, 2026
Hey @JonasCookBeavs !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹️
JonasCookBeavs commentedon Jun 1, 2026
/assign
Harshada766 commentedon Jul 19, 2026
Assign
heringston commentedon Nov 1, 2026
/assign
kunjgit commentedon Nov 1, 2026
Hey @heringston ! , This issue is already assigned to @JonasCookBeavs. 💗
You can work on other issues 🚀
If there is anything wrong you can contact us on Discord🕹️👀
heringston commentedon Nov 1, 2026
Hey @kunjgit ...Its been 5 months since the issue was assigned ....if it is still not resolved , I can work on it