https://github.com/otumian-empire/dicegame
A simple dice game made up of 6 dices that have to be rolled 5 times and each time the value of every dice roll is added to itself into a variable cscore - current score. the score is then compare to hscore - high score, if cscore > hscore, hscore = cscore. After a the 5 attempts, a replay funtion is called which the sets the high score and reset cscore and cleft - chances left to the default values
https://github.com/otumian-empire/dicegame
Last synced: 7 months ago
JSON representation
A simple dice game made up of 6 dices that have to be rolled 5 times and each time the value of every dice roll is added to itself into a variable cscore - current score. the score is then compare to hscore - high score, if cscore > hscore, hscore = cscore. After a the 5 attempts, a replay funtion is called which the sets the high score and reset cscore and cleft - chances left to the default values
- Host: GitHub
- URL: https://github.com/otumian-empire/dicegame
- Owner: Otumian-empire
- License: mit
- Created: 2019-03-31T17:50:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T20:27:18.000Z (about 5 years ago)
- Last Synced: 2025-01-29T06:54:10.743Z (9 months ago)
- Language: JavaScript
- Size: 155 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0