issues
search
iiitl
/
snake-game-js
0
stars
44
forks
source link
Implemented score and MaxScore logic.
#37
Closed
shuklamaneesh23
closed
4 months ago
shuklamaneesh23
commented
4 months ago
tackled issue #1
Changes Implemented:
Added a scoring mechanism to track points earned when the snake consumes food.
Implemented local storage to maintain the highest score achieved even after a refresh.
Details:
Added logic to track and display the current score during gameplay.
Implemented local storage to persistently store and update the highest score achieved.
Modified the game engine to update the highest score in local storage when a new high score is achieved.
Testing:
Conducted thorough testing to ensure the scoring mechanism accurately tracks points earned.
Tested the persistence of the highest score in local storage across refreshes and browser sessions.
tackled issue #1
Changes Implemented:
Details:
Testing: