This program was created as part of an evaluation of a bachelor course in engineering (at the 2014). Implement the board game "Maharajah and the Sepoys". It provides a user interface that allows you to play a game of "Maharajah and the Sepoys" between two people.
For example, the following image shown a virtual board of this game:
It is believed that chess originated in eastern India during the Gupta empire in the 6th century, through its predecessor chaturanga, which had pieces to represent infantry, cavalry, elephants and chariots (equivalent to the current pieces pawn, knight, bishop and tower ). Then the game was adopted by the Persians around the year 600, and they were in charge of introducing it to Europe and Russia, later evolving to its current form and spreading its use all over the world.
Multiple variations have arisen from the game, based on the modification of the board (different number of squares or shape), addition of different pieces or modification of the rules. One of them is known as the Maharajah and the Sepoys, in which there are different armies for white and black. Black has complete training with the standard pieces, which are called sepoys. White's army consists only of a special piece called Maharaja, which can move as queen or as a horse. If Black's player does not make mistakes, he should always win, but if not, the Maharaja can break Black's lines and win.
Except for the initial layout of the pieces and the movement of the Maharaja, the rules of the game are almost identical to conventional chess. In this variant there is no promotion of pawns (change the piece for another when it reaches the last row), nor the castling (special movement between the king and the tower).
And Enter key to select.
And Space bar to select.
I key to leave the game and O key to tie the game (both users will must accept the tie).
Exist a grapical bug, and in the past gif is easy to see. The pieces of the table were painted with an not-optimal method.
- Edisson López - Developer - ediloaz
- Joel Barrantes - Developer - JoelBarrantes
See also the list of repositories who I participated/created.