Skip to content

prashantsingh181/pig-game

Repository files navigation

Pig Dice Game

Welcome to the Pig Dice Game! This fun and interactive game allows players to take turns rolling a die, accumulating points while avoiding cursed numbers. The first player to reach the winning score wins!

Live Demo

You can play the game here: Pig Dice Game

Features

  • Responsive design
  • Simple HTML, CSS, and JavaScript implementation
  • Cursed number mechanics for added excitement
  • Ability to hold scores

How to Play

  1. Visit the live demo link above.
  2. Enter the names of the players.
  3. Click "Save" to start the game.
  4. Take turns rolling the die and strategize when to hold your score!

Rules

  1. Each player takes turns rolling a die.
  2. Players can accumulate their scores during their turns.
  3. Cursed Numbers: If a player rolls a cursed number, they lose their current score, and the next player takes their turn.
  4. Players can choose to hold their score, securing it but giving the next player a chance to roll.
  5. The first player to reach a predetermined winning score (default setting can be modified) wins the game.