Skip to content

EJIOLOGY/Dice_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice_game

Pig-game(ludo) is a classic board game played between friends and family. Play the dice game of kings! Recall your childhood!

GAME RULES:

• The game has 2 (default) to 4 players, playing in rounds • In each turn, a player rolls a dice as many times as he wishes. Each result get added to his ROUND score • BUT, if the player rolls a 1, all his ROUND score gets lost. After that, it's the next player's turn • The player can choose to 'Hold', which means that his ROUND score gets added to his GLOBAL score. After that, it's the next player's turn • The first player to reach 100 points on GLOBAL score wins the game.

How to win:

The player with the greater value on the side of the dice wins.

Set number of players:

Add players=DESIRED_PLAYER_NUMBER parameter to the end of the URL.

Example: https://gouri-panda.github.io/Pig-game/?players=4

Set Up: This project can be tested and implemented using Microsoft VSCode and we can run using Open with live server. Working with XML can be done in Eclipse or Netbeans

Contributing: Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

Developed with This game was developed using javascript math.random that draws numbers randomly and using Document Query Selector

Copyright(c) 2020 Pig-game(ludo) is a classic board game played between friends and family. Play the dice game of kings! Recall your childhood!

To remain unbiased we chose not to include ourselves in the list below, but we think you’ll love us anyway. Checkout our website

Setting up the project Step 1 : Fork, Clone and Remote Step 2 : Open project code in Visual Studio Code, Sublime Text or your favorite editor Now you are ready to get started 🎉

Contributing Get started with this simple and easy to follow project, it doesn't matter whether you are a beginner or a professional in web-development and open source! We are always here to help you out and get started.

Find an issue, then solve the issue and make a pull request to the repo. If you didn't find any helpful issues for you then raise an issue and start solving the issue.

About

Pig_game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published