/Dice-Game

A simple dice game completed on FCC to practice creating algorithms

Primary LanguageJavaScript

Dice-Game

A simple dice game completed on FCC to practice creating algorithms Github Pages website for this project: https://oia20.github.io/Dice-Game/

How to Play: Rules There are total of six rounds You can only roll the dice three times per round To start the game, roll the dice Then, choose from one of the selected scores or roll the dice again If you choose a selected score, then you will move to the next round If you decline to choose a selected score, then you can roll the dice again two more times

Points Three of a kind: Sum of all five dice Four of a kind: Sum of all five dice Full house: Three of a kind and a pair - 25 points Small straight: Four of the dice have consecutive values - 30 points Large straight: All five dice have consecutive values - 40 points

Technologies used:

  • HTML
  • CSS
  • Vanilla JS

Problems faced/concepts learned:

  • practiced algorithms for identifying the various dice possibilities.