iiitl / snake-game-js

0 stars 43 forks source link

Improve Game Over Popup Appearance and Functionality #3

Open ANKITy102 opened 5 months ago

ANKITy102 commented 5 months ago

Description:

Currently, when the game ends, an unattractive alert is displayed to the player. Enhance the user experience by replacing the existing alert with a visually appealing popup that includes the player's score and highest score achieved. Additionally, if the player achieves a new highest score, include an indication of this achievement. Finally, add a "Play Again" button to the popup to allow players to easily restart the game without refreshing the page.

Tasks:

Resolution:

Solve the tasks outlined above and submit a pull request referencing this issue ID (#ISSUE_ID) with a demonstration of the improved game over popup.