iiitl / snake-game-js

0 stars 43 forks source link

Created a popup for high score and fixed the current score and high score functionality #16

Closed psg-19 closed 5 months ago

psg-19 commented 5 months ago

Made changes in the index.js to update current score whenever snake eats food and update max score whenever the snake hits the wall. Added a pop-up when the user makes a high score. Here's a video attached for reference, https://github.com/iiitl/snake-game-js/assets/143210487/574e8a4b-223f-4a63-9741-13ca1349f010