Closed psg-19 closed 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
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