An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Multiplayer Dice Game v1

Welcome to my project!

Here's the flowchart of this game :-

![Flow chart](https://i.postimg.cc/q7LpvQvx/pig-game-flowchart.png)

# 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.