https://github.com/stephenombuya/advanced-dice-game
An advanced interactive dice game built using HTML, CSS, and JavaScript. The game offers a fun and engaging way to roll virtual dice with added features such as score tracking, dice animation, and multiplayer mode. Players can play against each other or try to beat the high score.
https://github.com/stephenombuya/advanced-dice-game
advanced-oop css3 html5 javascript
Last synced: 7 months ago
JSON representation
An advanced interactive dice game built using HTML, CSS, and JavaScript. The game offers a fun and engaging way to roll virtual dice with added features such as score tracking, dice animation, and multiplayer mode. Players can play against each other or try to beat the high score.
- Host: GitHub
- URL: https://github.com/stephenombuya/advanced-dice-game
- Owner: stephenombuya
- License: mit
- Created: 2024-11-18T19:35:55.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T19:48:50.000Z (11 months ago)
- Last Synced: 2025-01-26T14:26:26.696Z (8 months ago)
- Topics: advanced-oop, css3, html5, javascript
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **Advanced Dice Game**
An advanced interactive dice game built using HTML, CSS, and JavaScript. The game offers a fun and engaging way to roll virtual dice with added features such as score tracking, dice animation, and multiplayer mode. Players can play against each other or try to beat the high score.### **Features**
- **Dice Rolling**: Roll one or multiple dice and view the results.
- **Player vs Player Mode**: Compete with a friend in multiplayer mode.
- **Score Tracking**: Keep track of your scores throughout the game.
- **Animations**: Dynamic dice roll animations to enhance the gaming experience.
- **High Scores**: Track and display the highest scores achieved.
- **Responsive Design**: Play the game on any device, including desktop, tablet, and mobile.### **Technologies Used**
- **HTML5**: For structuring the game layout and user interface.
- **CSS3**: For styling and creating an engaging and responsive design.
- **JavaScript**: For the game logic, dice roll mechanics, score tracking, and animations.### **Installation**
1. Clone the repository:```
git clone https://github.com/stephenombuya/Advanced-Dice-Game/tree/main
```2. Navigate to the project directory:
```
cd dice-game
```3. Open the index.html file in your preferred browser to start playing.
### **How to Play**
- Click the "Roll Dice" button to roll the dice.
- If playing multiplayer, two players will take turns rolling the dice.
- The player with the highest roll wins the round and gets points.
- The game keeps track of the scores, and the winner is announced when the game ends.### **Game Rules**
- Players start with a score of 0.
- In each round, both players roll a dice.
- The player with the highest roll gets a point.
- The first player to reach a predefined number of points wins.
- Scores are displayed at the top of the screen during gameplay.### **Contributing**
If you'd like to contribute to this project, feel free to fork this repository and submit a pull request. Contributions are welcome for:- Bug fixes
- Enhancements
- Feature requests
- Documentation improvements
- Steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes and commit them with a descriptive message.
- Push your branch to your forked repository.
- Submit a pull request from your fork to the main repository.### **License**
This project is licensed under the MIT License - see the LICENSE file for details.