Skip to content

A simple Dice Game where two players roll virtual dice. Click the button to roll and see who wins! Built using HTML, CSS, and JavaScript.

Notifications You must be signed in to change notification settings

purusottam32/DICE-GAME

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎲 Dice Game

A fun and interactive Dice Game where two players roll virtual dice to compete. Refresh the page to reset, or click the button to roll again and determine the winner!

📌 Features

  1. Random dice roll for both players

  2. Winner declaration based on dice values

  3. Refresh-safe initial state

  4. Simple and beginner-friendly JavaScript logic

  5. Styled with CSS for a clean UI

🚀 How to Play

  1. Open the game in a web browser.

  2. Click the "Roll Dice" button to roll.

  3. The player with the higher number wins!

  4. Click again to play another round.

🛠️ Technologies Used

HTML

CSS

JavaScript

📂 Installation

  1. Clone this repository:

git clone https://github.com/purusottam32/DICE-GAME.git

  1. Open dice.html in your browser.

📜 License

This project is open-source and free to use.

Enjoy the game and have fun! 🎲

About

A simple Dice Game where two players roll virtual dice. Click the button to roll and see who wins! Built using HTML, CSS, and JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published