Skip to content

This is a simple web-based dice game where two players compete to get the highest dice roll. The game takes the input of names for User 1 and User 2, rolls the dice for each player, and declares the winner based on the highest roll.

Notifications You must be signed in to change notification settings

shreyasingh824/DiceGameWebsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice Game

This is a simple web-based dice game where two players compete to get the highest dice roll. The game takes the input of names for User 1 and User 2, rolls the dice for each player, and declares the winner based on the highest roll.

Features

  • User-friendly interface to enter player names
  • Random dice roll for each player
  • Display of player names and dice rolls
  • Declaration of the winner based on the highest roll

Technologies Used

  • HTML
  • CSS
  • JavaScript

Usage

  1. Enter the names of User 1 and User 2 in the provided input fields.
  2. Click the "Start Game" button to roll the dice for each player.
  3. The game will display the names of the players and their dice rolls.
  4. The winner will be declared based on the highest roll.

About

This is a simple web-based dice game where two players compete to get the highest dice roll. The game takes the input of names for User 1 and User 2, rolls the dice for each player, and declares the winner based on the highest roll.

Resources

Stars

Watchers

Forks