#Pig_Game
First Javascript Game This is a purely DOM manipulation game. Game Rules :
- Player 1 is set as default player.
- When dice is rolled then that number on dice is recorded as a score in active, And if the player wants to store his/her score then he has to hit the hold button, and the score is stored.
- If in the process, 1 is shown up, then active score is lost and the die is shifted to the other player.
- First player reaching the score of 100, is declared winner.
To play the game:
Import all the files on your desktop and from the Pig_Game folder menu, open up the index.html file.