/Pig-Game

Practice project for learning to manipulate the DOM using JavaScript

Primary LanguageJavaScript

Pig-Game

Practice project for learning to manipulate the DOM using JavaScript

Clone the repository and open index.html to try out the Pig Game

This is a 2 player game. Click "Roll" to roll the dice as many times as you want to add points to your score for the round. If you roll a 1, you lose the points for the round and it switches to the other player's turn. Click "Hold" to add your round points to your total score. First player to get 100 points wins!