-
Clone the project
git clone https://github.com/rimakan/pig-game-js.git
-
Install Live server extension (for VSCode)
-
Open index.html
-
Click 'Go Live'. The page will be avaliable in your default browser on http://127.0.0.1:5500
First player, who first gets 100 points, wins
- 'Roll dice' starts the game
- 'Hold' helps you hold the score
- 'New game' resets the current game and starts a new one