birutalukas / DOM-Pig-Game

Roll the dice and participate with friend who first will reach the score that You manually can set up at the beginning of the game.

Home Page:https://birutalukas.github.io/DOM-Pig-Game/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DOM Pig Game

Roll the dice and participate with friend who first will reach the score that You manually can set up at the beginning of the game.

GAME RULES:

  • The game has 2 players, playing in rounds
  • In each turn, a player rolls a dice as many times as he whishes. Each result get added to his ROUND score
  • BUT, if the player rolls a 1, all his ROUND score gets lost. After that, it's the next player's turn
  • The player can choose to 'Hold', which means that his ROUND score gets added to his GLBAL score. After that, it's the next player's turn
  • The first player to reach SELECTED points on GLOBAL score wins the game.

RULES UPDATE:

  • A player looses his ENTIRE score when rolls two 6 in a row. After that it's the next Player turn.

About

Roll the dice and participate with friend who first will reach the score that You manually can set up at the beginning of the game.

https://birutalukas.github.io/DOM-Pig-Game/


Languages

Language:JavaScript 49.1%Language:CSS 32.2%Language:HTML 18.7%