Ludo game by html, css, jquery and PHP 7
Need to keep the whole folder into web root or sub folder eg. /var/www/html/ludo Run from browser eg. http://localhost/ludo
Left side is game board and right side of the screen is Dice to roll and choose the piece to move for a player. Bellow the board will get Refresh the game button to clean whole game plan and session data to start a new game. Best view at 1200 X 1000 screen size.
To start the game click on 'Refresh the whole game' button. Then click on dice. As per dice result [player] click on specific position boxes above. See that peice movement at board. If you have only one piece waiting to end the game. But not getting exact move to reach the end then your piece will remain there until getting exact dice result.
Click on Dice to roll. It will randomly choose a player [starting with red] and result too random in range of 1 to 6. After getting the result. You have to click on a position box as per the player and piece want to move. If the player area is wrong as per disce result and you clicked on. Then it will restrict and warn. You can't give wrong move. After correct click to move. You can see the pice in board in new plce/box. If that specific piece not come out from home yet then you need to wait for dice result 6 to come out.
Click on the specific box to give a move for that piece of that player. If dice result is 6 for that player only then he can move a piece from home [blank] and will get another dice role chance.
This game has several restriction in built to restrict the wrong move. It has several calculation inside to make game as real.
Game plan Designer(s) Josef Friedrich Schmidt Publisher(s) Schmidt Games Publication date 1914; 103 years ago Genre(s) Board game Players 2 to 4 (2 to 6 on reverse side) Age range 5 years and up Setup time 1 minute Playing time about 30 minutes Random chance High (die rolling) Skill(s) required Counting, probability, strategy Mensch ärgere Dich nicht is a German board game (but not a German-style board game), developed by Josef Friedrich Schmidt in 1907/1908. The game was issued in 1914 and sold about 70 million copies. It is a cross and circle game with the circle collapsed onto the cross, similar to the Indian game Pachisi, the Colombian game Parqués, the American games Parcheesi and Trouble, and the English game Ludo. Name The name of the game means "Do not get angry" (literally "Do not get angry, man" or "Do not get angry, buddy"). The name derives from the fact that a peg is sent back to the "out" field when another peg lands on it, similar to the game Sorry!. Rules
Wooden board with all pieces in the home row (does not happen during the game) The game can be played by 2, 3 or 4 players – one player per board side (the original one has a pattern for 6 players on its backside). Each player has 4 game pieces, which are in the "out" area when the game starts, and which must be brought into the player's "home" row. Early games had painted wooden pieces. The rows are arranged in a cross position. They are surrounded and connected with a circle of fields, over which the game pieces move in clockwise direction. There are 3 fields nearest to each side of the board; the left one is the player's "start" field (marked "S") and the middle one leads to the "home" row.
Dutch children playing the game, known in Dutch as "Mens erger je niet". This means that each game piece enters the circle at the "start" field, moves (clockwise) over the board and finally enters the "home" row. The first player with all of their pieces in their "home" row wins the game. The players throw a die in turn and can advance any of their pieces in the game by the thrown number of dots on the dice. Throwing a six means bringing a piece into the game (by placing one from the "out" area onto the "start" field) and throwing the dice again. If a piece is on the "start" field and there are still pieces in the "out" area, it must be moved as soon as possible. If a piece cannot be brought into the game then any other piece in the game must be moved by the thrown number, if that is possible. Pay attention that throwing dice continuously without moving is forbidden and by each dice throw you have to make a move. Pieces can jump over other pieces, and throw out pieces from other players (into that player's "out" area) if they land on them. A player cannot throw out his own pieces though, he can advance further than the last field in the "home" row. A player can be thrown out if he is on his "start" field. Variation which is played by most players: A player who has no pieces in the game has 3 tries to throw a six. External links Media related to Ludo at Wikimedia Commons "Ludo: History of a classic game" ( "Story of a Classic Game"), Nuremberg Toy Museum (German)