Skip to content

SvetlaGeorgieva/PigGame

Repository files navigation

PigGame

A fun 2-player game, build with JavaScript.

How to run locally

  • Fork and clone repository
  • Open index.html in a browser
  • Start playing :)

Rules

  • Player 1 starts and rolls the dice 🎲.
  • The value of the dice is added to the player's current score.
  • After each roll, the player has two options -> either FOLD and add his current score to his total score, or CONTINUE ROLLING to stack even more points to his current score.
  • If the dice rolls 1️⃣ -> the player loses all his current score 😢 and the other player starts rolling.
  • Whoever reaches 100 points total score first, wins 🎉.

Screenshots

  • Playing playing
  • Player 1 wins 🎉 playing

About

A fun 2-player game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published