https://github.com/tom474/dice_game
A web-based two-player dice game with randomized rolls and instant winner determination.
https://github.com/tom474/dice_game
css game-development html javascript web-development
Last synced: over 1 year ago
JSON representation
A web-based two-player dice game with randomized rolls and instant winner determination.
- Host: GitHub
- URL: https://github.com/tom474/dice_game
- Owner: tom474
- Created: 2024-06-11T09:37:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-07T13:47:47.000Z (over 1 year ago)
- Last Synced: 2025-02-07T14:39:50.260Z (over 1 year ago)
- Topics: css, game-development, html, javascript, web-development
- Language: JavaScript
- Homepage: https://tom474.github.io/dice_game/
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dice Game
A simple web-based dice game where two players roll virtual dice, and the player with the higher roll wins.
## Tech Stack
- HTML
- CSS
- JavaScript
## Features
- **Randomized Dice Rolls**: Each player rolls a virtual die with values ranging from 1 to 6.
- **Automated Winner Declaration**: The game determines and displays the winner based on dice roll values.
- **Draw Condition**: If both players roll the same number, the game declares a draw.
- **Instant Results**: The outcome updates immediately upon page refresh.
- **Minimalist UI**: A clean and simple interface with player dice images.