-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In script.js: add function pauseGame() and modify rest of the code. Working: This enables pause button. When it is clicked: - time, score are paused - new edibles are not generated - clicking already generated edibles do not increase score, nor do they get caught (removed).
- Loading branch information
1 parent
c978a8d
commit e04374b
Showing
2 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters