This is a simple dice game built using React and styled-components. Players can select a number, roll a dice, and score points based on the outcome. The game also includes features to reset and show the current score.
- Players can select a number between 1 and 6.
- Roll a dice and match the number to score points.
- Increase or decrease the score based on the dice roll.
- Reset the score to zero.
- Display the current score.
- Clone the repository:
- Navigate to the project directory:
- Install the dependencies:
- Start the development server:
- Open your browser and go to
http://localhost:3000
to see the app in action.
git clone https://github.com/Hareem-Gohar/Dice-Game.git
cd dice-game
npm install
npm start