Skip to content

fix: add restart button after game over in Space Invaders - #5268

Open
Lonewolf2511 wants to merge 1 commit into
kunjgit:mainfrom
Lonewolf2511:fix-space-invaders-restart-button
Open

fix: add restart button after game over in Space Invaders#5268
Lonewolf2511 wants to merge 1 commit into
kunjgit:mainfrom
Lonewolf2511:fix-space-invaders-restart-button

Conversation

@Lonewolf2511

@Lonewolf2511 Lonewolf2511 commented Aug 21, 2026

Copy link
Copy Markdown

PR Description 📜

Adds a "Restart" button and Game Over overlay (with final score) to the Space Invaders game. Previously, when the player lost, gameOver was set to true internally but nothing was shown to the user and there was no way to play again without manually reloading the page.

This PR is not tied to a filed issue — the missing restart functionality was found through a direct review of the codebase.


Mark the task you have completed ✅


Add your screenshots(Optional) 📸



Thank you soo much for contributing to our repository 💗

@kunjgit

kunjgit commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Thank you @Lonewolf2511 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

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

Successfully merging this pull request may close these issues.

2 participants