https://github.com/aditya-ranjan1234/dice_game
Fun Two Player Dice Game
https://github.com/aditya-ranjan1234/dice_game
beginner-project css html javascript toss
Last synced: 3 months ago
JSON representation
Fun Two Player Dice Game
- Host: GitHub
- URL: https://github.com/aditya-ranjan1234/dice_game
- Owner: Aditya-Ranjan1234
- License: gpl-3.0
- Created: 2024-04-07T09:10:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T18:15:45.000Z (about 2 years ago)
- Last Synced: 2025-03-16T08:08:51.003Z (over 1 year ago)
- Topics: beginner-project, css, html, javascript, toss
- Language: CSS
- Homepage: https://aditya-ranjan1234.github.io/Dice_Game/
- Size: 48.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Dice Game**
This JavaScript-based dice game is a fun and interactive way for two players to compete against each other. Players take turns rolling a pair of virtual dice, with the game dynamically generating random numbers for each roll. The corresponding dice images are displayed on the webpage to simulate the dice rolls visually.
The rules are simple: the player with the higher roll wins the round. If both players roll the same number, it's a draw. The game interface updates in real-time to announce the winner of each round, making for an engaging experience.
To play the game:
Game Link : https://aditya-ranjan1234.github.io/Dice_Game/
1. Open the HTML file in a web browser.
2. Each player takes turns clicking the "Roll Dice" button to generate their roll.
3. The game announces the winner or indicates a draw after each roll.
Enjoy this entertaining diversion and have fun rolling the virtual dice!