Skip to content

angun2serkan/diceRoll

Repository files navigation

Dice Roll

How to play? & Rules of game

User Rolls Dice

  • Generate random dice roll
  • Display dice roll
  • Is it 1?
  • If Yes: Switch player
  • If No: Add dice roll to current score and display new score

User Holds Score

  • Add current score to total score
  • Is score equal or greater than 100?
  • If Yes: Current player wins
  • If No: Switch player

User resets game

  • Set all scores to 0
  • Set player 1 as starting player

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published