Skip to content

harmeetsingh11/Dice-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎲Dice Game🎲

Game of dice for two players alone.

How to Play?

As soon as the user presses the "Roll the Dice" button, the dice are randomly thrown, giving player 1 and player 2 their individual dice values. Then, the dice game will declare a winner based on whose dice value was higher.

Demo

https://harmeetsingh11.github.io/Dice-Game/

Screenshots

Run Locally

Clone the project

  git clone https://github.com/harmeetsingh11/Dice-Game.git

Go to the project directory

  cd Dice-Game

Start the project

  start index.html

Tech Stack

  • HTML5
  • CSS3
  • Vanilla Javascript

Concepts Learned

  • Select and Manipulate Elements on webpage using DOM (Document Object Model) and Javascript.
  • Add Event Listeners to Elements.

Acknowledgements

The Complete 2023 Web Development Bootcamp by Angela yu.