Skip to content

Mariusz071/Dice-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Dice game built using plain JavaScript, just as a form of refresher.

GAME RULES:

  • The game has two players, playing in rounds
  • Players needs to agree for the winning score - score to win the game and then hit 'submit'
  • In each round player rolls the dices as many times as he wants to. Each result is added to the round score
  • If player rolls 1 on any of the dices, all round score gets lost, then it's another player's turn
  • If player will roll 6 at any of the dices in two rolls in a row - WHOLE score is lost
  • First player to reach winning score agreed at the beginning wins the game.

Have fun!

Build with:

  • Vanilla JavaScript
  • HTML
  • CSS

About

Simple Dice game built with plain JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published