Skip to content

SD007CSE/Dice-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice Game

Project Overview

The Dice Game is a web-based game that simulates the rolling of dice. It has an interactive webpage where users can click a button to trigger the dice roll, and the game determines the winner between Player 1 and Player 2.

Table of Contents

Features

  • Web-based interface for a visually engaging experience.
  • Simulates the rolling of a standard six-sided die.
  • Automatic determination of the winner between Player 1 and Player 2.
  • Provides feedback on the winning player.

Project Structure

  • index.js: Contains the logic for dice rolling and winner determination.
  • dice.html: Webpage HTML with a button to trigger the dice roll.
  • (Add any other relevant files or directories)

How to Play

  1. Open the dice.html file in a web browser.
  2. Click the "Click Me" button to trigger the dice roll.
  3. The game will automatically determine the winner between Player 1 and Player 2.
  4. Enjoy the game and see who comes out victorious!

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/SD007CSE/Dice-Game.git
  2. Open the dice.html file in a web browser.

Usage

  • Click the "Click Me" button to initiate the dice roll.
  • View the result and see which player wins.
  • Have fun and enjoy the interactive nature of the game.

Feel free to customize this README file further based on your specific project details or additional information you want to include.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published