Skip to content

A simple web-based dice game that displays a winner on each refresh using HTML, CSS, and JavaScript. Great for practicing DOM manipulation and basic logic.

Notifications You must be signed in to change notification settings

05-Jagritii/Dice-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dicee Web App

Description

Dicee is a simple web-based dice game built using HTML, CSS, and JavaScript. It simulates rolling two dice and displays the winner based on random values. When the user visits the page for the first time, it shows the text "Refresh Me". On reloading the page, the app rolls the dice and announces the winner.

Live Demo

Check out the live version here: Live Demo {214A2B04-382B-49FB-9945-1BBBD494162F}

Features

  • Random dice roll on page reload
  • Compares two dice to determine the winner
  • Remembers first-time visit using local storage
  • Clean and responsive design

Installation

  1. Clone the repository
    git clone https://github.com/your-username/dicee.git
    cd dicee
  2. Open index.html in your browser
    start index.html
    

Project Structure

dicee/
├── images/
│   ├── dice1.png
│   ├── dice2.png
│   ├── dice3.png
│   ├── dice4.png
│   ├── dice5.png
│   └── dice6.png
├── index.html
├── styles.css
└── index.js

Author

Jagriti Kanwar
Mail : kanwarjagriti21@gmail.com
LinkedIn : Jagriti Kanwar

About

A simple web-based dice game that displays a winner on each refresh using HTML, CSS, and JavaScript. Great for practicing DOM manipulation and basic logic.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published