Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 833 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 833 Bytes

🎲 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.