this webpage provides a fun and interactive game experience for users to enjoy and challenge their luck and strategy.
This project is a simple web-based dice game built with React.js. It provides users with an interactive interface to play a game involving rolling a dice and selecting numbers.
- Dice Rolling: Players can roll a dice to generate a random number.
- Number Selection: Players can select a number from 1 to 6.
- Score Calculation: The total score is dynamically calculated based on the player's interactions.
- Responsive Design: The interface is responsive and works well on various screen sizes.
- React.js
- styled-components
- Clone the repository:
git clone https://github.com/your-username/dice-game.git
Navigate to the project directory: cd dice-game
Install dependencies: npm install
Start the development server: npm run dev
Usage Select a number from the number selector. Click on the "Roll Dice" button to roll the dice. Try to match the rolled number with the selected number to earn points. The total score will be updated based on your interactions.
License This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements This project was created as part of a learning exercise. Special thanks to the React.js and styled-components communities for their valuable resources and support.
Author
Paras Bhardwaj