Skip to content

Pig game. Made as part of JavaScript course on Udemy by Jonas Schmedtmann.

Notifications You must be signed in to change notification settings

Rivki7/pig-game

Repository files navigation

Pig Game

Made as part of JavaScript course on Udemy by Jonas Schmedtmann.
By doing this project I practiced manipulating the DOM.

How to Play 🛝

  • The goal of the game is to score as many points as possible by rolling the dice and adding the numbers together.

  • Players take turns rolling the dice. If a player rolls a 1, they lose all of their points for the turn.

  • If a player rolls any other number, they can choose to roll again or to bank their points for the turn.

  • The player with the most points at the end of the game wins.

    ENJOY 😎

1. Click on 'ROLL DICE'.

image

2. If you didn't roll 1, you can choose to roll again or click 'HOLD'.

image

3. The game ends when one of the players has more than 100 points. 🚀

image

(UI design by Jonas Schmedtmann)

About

Pig game. Made as part of JavaScript course on Udemy by Jonas Schmedtmann.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published