Skip to content

A game where two players roll the dice and who reaches total of 20 points wins.

Notifications You must be signed in to change notification settings

aytacserce/JS--Pig-Game

Repository files navigation

JS--Pig-Game

14.06.2022


This is a game with two players where each player rolls a dice and dice values gets added on to reach the desired value (I set it to 20).

  • Once you roll the dice, you can keep your value to guarantee but then it is the other players turn.
  • You can take risk an keep rolling without keeping your points but there is a chance that you can roll 1 and if you roll 1, all your points will be erased and it will be again the other players turn.


🛠️ Languages and Tools Used:

  • HTML
  • CSS
  • JavaScript

About

A game where two players roll the dice and who reaches total of 20 points wins.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published