Skip to content

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

Notifications You must be signed in to change notification settings

stekatag/pig-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐷 Pig Game

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

📃 Game rules

  • The game has 2 players, playing in rounds
  • In each turn, a player rolls a dice as many times as he wishes. Each result gets added to his CURRENT score
  • BUT, if the player rolls a 1, all his CURRENT score gets lost. After that, it's the next player's turn
  • The player can choose to 'Hold', which means that his CURRENT score gets added to his GLOBAL score. After that, it's the next player's turn

🏆 How to win

The first player to reach 100 points on a GLOBAL score wins the game.

🆚 Set Up

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

🧑‍💻 Developed with

This game was developed using JavaScript Math.random() function that draws numbers randomly and using document.querySelector()

Copyright © 2022

This page is made for learning purposes only. Copyright © 2022 Stefan Gogov. All rights reserved.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages