Welcome to the React Dice Game! This project is a simple web application where users can play a fun dice game. The game involves rolling a dice and trying to achieve a high score.
This project is built using React.js and utilizes the Styled Components library for styling. The main goal of the game is to roll the dice and accumulate points if selected number is equal to dice number you will get same point as dice if you guess wrong then 2 points will be deducted from the overall score
To run the project locally, follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory using the terminal or command prompt.
- Run
npm install
to install the project dependencies. - Run
npm start
to start the development server. - Open your browser and visit
http://localhost:3000
to view the application.
- Interactive UI with visually appealing components.
- Random dice roll simulation to make the game engaging.
- Score tracking for each round and overall score display.
- React.js: A popular JavaScript library for building user interfaces.
- Styled Components: A CSS-in-JS library that allows writing CSS in JavaScript.
- HTML5: The markup language used for structuring the application.
- CSS3: Styling the components and layout of the application.
Contributions are welcome! If you find any bugs or have ideas to enhance the game, feel free to open an issue or submit a pull request. When contributing, please follow the existing code style and ensure your changes are well-tested.
- Fork the repository on GitHub.
- Clone your forked repository to your local development environment.
- Create a new branch for your feature or bug fix.
- Commit your changes and push the branch to your GitHub repository.
- Open a pull request to the
main
branch of the original repository.
The project is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.