iiitl / snake-game-js

0 stars 44 forks source link

Implemented max score and score feature #1 #75

Closed anadimehta closed 4 months ago

anadimehta commented 4 months ago

1 Implemented max score and score feature

Made the required changes in js file . added the if else condition for obtaining the score. for the beginning of game used the local stored variable so that the max score can be shown .

https://github.com/iiitl/snake-game-js/assets/143185586/b242bb65-f6d4-4c3c-ae11-c9a7a7d33580