Skip to content

dhungdata/DiceGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎲 Dice Game 🎲

This is a simple dice game built with JavaScript, jQuery, HTML, SCSS and CSS.

Try the game here.

How to Play:

  • To play, click the 'Roll Dice' button.
  • To advance to the next round, click the 'Roll Dice' button again.
  • After three rounds, the game is over and the final score is calculated.
  • Optionally, you can enter your name.
  • If you want to play again, click the 'New Game' button.

Rules:

  • Each round, you and the CPU both roll a pair of dice.
  • Your score for the round will be based on the sum of the dice.
  • If you roll doubles (e.g. a 3 and a 3) then your score is multiplied by 2.
  • Rolling a 1 will give you a score of 0 for that round.
  • The player who has the most points at the end of three rounds is the winner.

About

A dice game built with JavaScript, jQuery, HTML, SCSS and CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published