Monday 28 March 2016

Ludo Game

Ludo Game

The Project OpenGL Ludo game is an computer graphics project for VTU students. The computer graphics project used open source library – OpenGL with the c++.  This c++ project is based  on one of the oldest Board Game – the  Ludo. This OpenGL Ludo game is of two player game and not the regular four players.




OpenGL Ludo game rules


·         At the start of the OpenGL Ludo game, the player’s four pieces are placed in the start area of their colour.
·         Players take it in turn to throw a single die. A player must first throw a six to be able to move a piece from the starting area onto the starting square.
·         In each subsequent turn the player moves a piece forward 1 to 6 squares as indicated by the die.
·         When a player throws a 6 the player may bring a new piece onto the starting square, or may choose to move a piece already in play. Any throw of a six results in another turn.
·         If a player cannot make a valid move they must pass the die to the next player.
·         If a player’s piece lands on a square containing an opponent’s piece, the opponent’s piece is captured and returns to the starting area.
·         A piece may not land on a square that already contains a piece of the same colour (unless playing doubling rules).
·         Once a piece has completed a circuit of the board it moves up the home column of its own colour. The player must throw the exact number to advance to the home square.

·         The winner is the first player to get all four of their pieces onto the home square.

Procedure to Play in Ludo game C++ Project

·         A ludo board is normally a square marked with a cross. Each arm of the cross is divided into three columns, with the columns divided into usually six squares.
·         The centre of the cross is the finishing square which is often divided into four colored triangles. Eachcolored triangle is combined with a colored middle column appears as an arrow pointing to the finish.
·         The shaft of each arrow is a player’s “home column” and is five squares long. To the left of each home column, one square from the edge of the board is a starting square, also colored.
·         During game play a piece moves from its starting square, clockwise around the perimeter of the board, and up the player’s home column to the finishing square.
·          In the space to the left of each arm is a circle or square to hold a player’s pieces before they are allowed into play. There are no resting squares, but the colored home column may only be entered by its own player’s tokens.
·         The special areas on the board are typically brightly colored with yellow, green, red, and blue. Each player uses cardboard or plastic tokens of matching color.

Future scope of OpenGL Ludo game

·         Even though the Ludo game in C++ designed is enriched with many options, it is a two dimensional demo, in future this computer graphics project can be re designed with 3D animation and sound effects.
·         By using this demo further for four coins and four players can be implemented in this OpenGl Project.

Download Program Source Code here
Download Report here

2 comments: