Pig-game(ludo) is a classic board game played between friends and family. Play the dice game of kings! Recall your childhood!
- 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.
The player with the greater value on the side of the dice wins.
Add players=DESIRED_PLAYER_NUMBER parameter to the end of the URL.
Example: https://gouri-panda.github.io/Pig-game/?players=4
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
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.
This game was developed using javascript math.random that draws numbers randomly and using Document Query Selector
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
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 🎉
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.
If you wanna get in touch with us please join our slack channel: