max-richter / Pig-Game

Game of Pig implemented using a dice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pig-Game

Game of Pig implemented using a dice

GAME RULES:

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

Tech Stack:

  • JavaScript
  • HTML
  • CSS

PREVIEW:

Starting Screen Pic

Winner Screen Winning Screen

About

Game of Pig implemented using a dice


Languages

Language:JavaScript 44.4%Language:CSS 34.6%Language:HTML 21.0%