# Dice Game
A simple two-player dice game built using HTML, CSS, and JavaScript. Each player rolls a virtual dice, and the game determines the winner based on the dice values.
## 🌐 Live Demo
Play the game here:
👉 https://karthik-004.github.io/DICE_GAME/
## Overview
The Dice Game is a browser-based game where two players roll dice simultaneously. The player with the higher dice value wins the round. This project demonstrates basic JavaScript logic, DOM manipulation, and random number generation.
## Key Features
- Two-player dice rolling game
- Random dice value generation
- Automatic winner detection
- Simple and clean user interface
- Instant result display
- Lightweight and fast
## Technology Stack
- HTML5
- CSS3
- JavaScript (ES6)
## Getting Started
### Prerequisites
A modern web browser (Chrome, Edge, Firefox, etc.)
### Installation
1. Clone the repository:
```bash
git clone https://github.com/KARTHIK-004/DICE_GAME.git-
Navigate to the project directory:
cd DICE_GAME -
Open
index.htmlin your browser to start playing.
- Refresh the page or click the roll button (if available).
- Both players roll the dice automatically.
- The player with the higher number wins.
- If both dice values are the same, the game results in a draw.
DICE_GAME/
├── image
├── index.html
├── index.js
├── style.css
└── README.md
This project is ideal for:
- Learning JavaScript fundamentals
- Practicing random number generation
- Understanding DOM manipulation
- Building simple interactive browser games
This project is open-source and intended for educational and personal use.
⭐ If you like this project, consider giving it a star on GitHub!