This project is a simple dice game implemented using JavaScript's Document Object Model (DOM). The game presents users with a title, "Refresh Me," along with two dice for Player 1 and Player 2.
Upon refreshing the webpage, the dice are thrown randomly for both Player 1 and Player 2. Each player receives a random value on their respective dice. The webpage then announces a winner based on whose dice value is higher.
Deployment link Click Here
Utilizes JavaScript DOM for dynamic webpage manipulation. Randomly generates dice values for both Player 1 and Player 2. Announces the winner based on the higher dice value. Provides a simple and interactive gameplay experience.
HTML CSS JavaScript (DOM)
To run the game locally:
Clone the repository to your local machine. Open the index.html file in your web browser. Refresh the webpage to play the game and see the result.
Implement a scoring system to keep track of multiple rounds. Add animations for a more engaging user experience. Include a multiplayer mode to allow multiple players to participate simultaneously. Contributions Contributions are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.