iiitl / snake-game-js

0 stars 43 forks source link

Improve Game Over Popup Appearance and Functionality #3 #15

Closed rishyym0927 closed 5 months ago

rishyym0927 commented 5 months ago

Hello @ANKITy102 This is the PR for ISSUE #3 Improve Game Over Popup Appearance and Functionality

This pull request enhances the Snake game by implementing a visually appealing game over popup feature. The popup is displayed when the game ends, replacing the previously used alert. The popup includes the player's score and highest score achieved, providing valuable feedback to the player. Additionally, an indication of a new highest score achievement is included in the popup. A "Play Again" button allows players to restart the game easily without refreshing the page, improving the overall user experience. These enhancements aim to make the game more engaging and enjoyable for players.

https://github.com/iiitl/snake-game-js/assets/136720020/900208fe-efac-43c4-a9cd-223082595ac1

ANKITy102 commented 5 months ago

@rishyym0927, good work!