Skip to content

Repository files navigation

Pig Game

A classic dice game built with HTML, CSS, and JavaScript. Roll the dice, accumulate points, but be cautious not to roll a 1 and lose your turn. The first player to reach the specified winning score is declared the winner!

Pig Game Screenshot

Features 🎲

  • Roll the Dice: Click the "Roll Dice" button to roll a six-sided die.
  • Hold: Secure your current round points by clicking the "Hold" button, but be strategic!
  • Switch Player: Rolling a 1 will end your turn and switch to the next player.
  • Winning Condition: The first player to reach the specified winning score wins.

How to Play 🕹️

  1. Clone the Repository:

    git clone https://github.com/your-username/pig-game.git
    
  2. Navigate to the Project Directory:

    cd pig-game
    
  3. Open the Game:

  • Open the index.html file in your web browser to start playing.

Live Demo 🎮

About

🎲 Roll the dice, accumulate points, but avoid the pig!

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages