Skip to content

Pransu-code/PigGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiplayer Dice Game v1

Welcome to my project!

Here's the flowchart of this game :-

Flow chart

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.

About

This is a multiplayer dice game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published