A simple React component representing a dice game with Bootstrap styling.
The Dice Game component is a React-based web application that simulates a dice game. Users can click the "Play" button to roll the dice and attempt to match a predefined winning face. The number of attempts is tracked, and if the user successfully matches the winning face, a "Congratulations" message is displayed, and the user can choose to reset the game.
- Randomly generates dice faces on each play.
- Tracks the number of attempts.
- Displays a winning message upon successful matching.
- Provides a "Reset" button to start a new game.
-
Clone the repository:
https://github.com/Josh-techie/Dice_Game
-- The main page of the dice game:
-- Josh-techie