iiitl / snake-game-js

0 stars 43 forks source link

This is the PR for ISSUE #1 and ISSUE #8 to make a pop up window for High Score #17

Closed psg-19 closed 5 months ago

psg-19 commented 5 months ago

fix: Made changes in the index.js to update current score whenever snake eats food and update max score whenever the snake hits the wall since it was not possible to add a pop up for high score without these changes . 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/cc708ca1-9889-4669-bf6f-7d325e0b2fb0

psg-19 commented 5 months ago

also fixed ISSUE #1

ANKITy102 commented 5 months ago

@psg-19, Please create seperate prs for each issue.