Skip to content

Dice Game is a simple and fun game where two players roll dice, and the player with the higher roll wins! Built with HTML, CSS, and JavaScript. 🎲 Play the Dice Game

Notifications You must be signed in to change notification settings

ELFAZ19/dice-game-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎲 Dice Game – Roll the Dice and Win!

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.

✨ Features

βœ… 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!

πŸš€ Live Demo

πŸ”— Try it here!

πŸ› οΈ Technologies Used

  • HTML – Structure and content.
  • CSS – Styling and layout.
  • JavaScript – Game logic and interactivity.

πŸ“Œ How to Play

  1. Click on the "Roll Dice" button to roll a dice for both players.
  2. The game will compare the results and announce the winner.
  3. Keep playing to see who rolls higher!

πŸ“… Future Enhancements

  • 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.

πŸ“œ License

This project is open-source. Feel free to fork or contribute!


πŸ’‘ Created by ELFAZ19

About

Dice Game is a simple and fun game where two players roll dice, and the player with the higher roll wins! Built with HTML, CSS, and JavaScript. 🎲 Play the Dice Game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published