domcabitac / Pig-Game

A simple dice game which in its basic form is playable with just a single die. You win by being the first player to score 50 or more points. Project focused on JavaScript and DOM manipulations.

Home Page:https://www.domcabitac.com/Pig-Game/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pig-Game

Pig is a simple dice game which in its basic form is playable with just a single die. You win by being the first player to score 50 or more points.

Rules

A player rolls a die and scores as many points as the total shown on the die providing the die doesn’t roll a 1. The player may continue rolling and accumulating points (but risk rolling a 1) or end his turn. If the player rolls a 1 the turn is over, he loses all points he accumulated that turn, and he passes the die to the next player.

This game is referenced from the Udemy JavaScript Course.

About

A simple dice game which in its basic form is playable with just a single die. You win by being the first player to score 50 or more points. Project focused on JavaScript and DOM manipulations.

https://www.domcabitac.com/Pig-Game/


Languages

Language:CSS 52.2%Language:JavaScript 31.2%Language:HTML 16.6%