ediloaz / Maharajah-and-the-Sepoys

This is a popular chess variant with different armies for white and black.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maharajah and the Sepoys

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:

Example of board of the Maharajah and the Sepoys

About of the Maharajah and the Sepoys

History

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.

Rules

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).

A mini-User's Manual: Keys to use

For the Maharajah

cursor-left cursor-right cursor-up cursor-down

And Enter key to select.

For the Sepoys

a w s d

And Space bar to select.

Both users

I key to leave the game and O key to tie the game (both users will must accept the tie).

Change the color board

1 2 3 4 5 6

Game Running

Example of a game of the Maharajah and the Sepoys

Built With

Declaration of Bugs

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.

Authors

See also the list of repositories who I participated/created.

About

This is a popular chess variant with different armies for white and black.

License:MIT License


Languages

Language:Java 100.0%