https://github.com/pransu-code/piggame
This is a multiplayer dice game.
https://github.com/pransu-code/piggame
Last synced: about 1 year ago
JSON representation
This is a multiplayer dice game.
- Host: GitHub
- URL: https://github.com/pransu-code/piggame
- Owner: Pransu-code
- Created: 2024-07-30T19:11:11.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-30T20:38:23.000Z (over 1 year ago)
- Last Synced: 2025-01-16T07:28:06.293Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://multiplayerpiggame.netlify.app/
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Multiplayer Dice Game v1
Welcome to my project!
Here's the flowchart of this game :-

# Features
- Multiplayer Game [ contraints -> both player should be at the same place and on the same device ]
# How to Play? & Rules
- Two players are named as Player 1 and Player 2 by default
- You have to decide your side by yourself either Player 1 or Player 2
- By default game will start with Player 1
- You will get 3 options in this game : 1. New game 2. Roll Dice 3. Hold
1. New game -> Resets the scores of both players and will start a new game
2. Roll Dice -> Everytime you click on Roll Dice button you will get your dice rolled and you will get a numeber from 1-6.
3. Hold -> This option will add your current score to your total score and pass to next player
# Rules ->
- If you get a 1 numbered dice then Player will be switched automatically.
- Decision is your's either to take risk and keep rolling the dice or press hold button and add your current score to your total score.
- Player reaching score 100 first wins.