Welcome to Dice Game, a simple yet fun game where you roll a dice to get a random number. The game compares the dice rolls between two players and announces the winner! Built using HTML, CSS, and JavaScript, this project demonstrates basic game logic and interactivity.
β
Random Dice Rolls β Each player rolls a dice and gets a random number.
β
Winner Announcement β The player with the higher roll wins!
β
Responsive Design β Works great on all devices.
β
Simple UI β Clean design with easy-to-understand functionality.
β
Interactive Gameplay β Click to roll and see who wins!
π Try it here!
- HTML β Structure and content.
- CSS β Styling and layout.
- JavaScript β Game logic and interactivity.
- Click on the "Roll Dice" button to roll a dice for both players.
- The game will compare the results and announce the winner.
- Keep playing to see who rolls higher!
- Adding a scoreboard to track wins and losses.
- Implementing different types of dice (e.g., 6-sided, 20-sided).
- Adding animations and sound effects for a more immersive experience.
This project is open-source. Feel free to fork or contribute!
π‘ Created by ELFAZ19