Skip to content

Kh125/Pig-Game

Repository files navigation

Pig Game

A fun game written with javascript.

It is about competing your dice roll scores. The one who got 100 score first is the winner. You can roll dice until it scores number 1 or you can hold current score(your current score will be added to your total score unless it result a 1) and give a turn to the next player.

I reference the idea from the instructor of my javascript course and rewrite it with my own.

Hope u enjoy it.