
Project Overview
This is a simple two-player turn-based dice game where players compete to reach 100 points first. The game is designed to test both luck and strategy, making each round exciting and unpredictable.
Features
- Each player starts with 0 points.
- Players take turns rolling a dice.
- Players have two options after rolling:
- Hold: Add the current dice points to their total score and switch turns.
- Roll Again: Take the risk to accumulate more points.
- If a player rolls a 2, their total score resets to zero, and the turn switches to the next player.
- The first player to reach 100 points wins.
Technologies Used
- HTML, CSS, and JavaScript
- DOM Manipulation for real-time updates
- Event listeners for interactive gameplay
Reflection
This project helped me strengthen my JavaScript skills, particularly in event handling, logic building, and game state management.
Tools Used
- Visual Studio Code