https://github.com/uhpoler/dicegame
This is a DiceGame for two players
https://github.com/uhpoler/dicegame
css3 html5 javascript
Last synced: 6 months ago
JSON representation
This is a DiceGame for two players
- Host: GitHub
- URL: https://github.com/uhpoler/dicegame
- Owner: uhpoler
- Created: 2024-04-16T13:14:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-22T11:12:42.000Z (about 1 year ago)
- Last Synced: 2025-02-02T09:09:43.804Z (8 months ago)
- Topics: css3, html5, javascript
- Language: CSS
- Homepage: https://dice-game-uhpoler.netlify.app/
- Size: 398 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DiceGame
This is a DiceGame for two players, I created it for practicing DOM and Events fundamentals.
- When a player clicks the 'ROLL' button, the game rolls a dice, generating a number between 1 and 6.
- Each roll adds to the player's 'CURRENT' score.
- When the player presses the 'HOLD' button, all current points are transferred to the 'SCORE' section.
- The first player to reach 100 points wins the game.WARNING: If a player rolls a '1', all their current points are lost, and the next player takes their turn.
## Flowchart
## Display
## Win screen
