It wants now to develop "Khet", a complex strategy game for two players. It looks a little like chess, there are indeed different kind of pieces, but it also includes shooting lasers. All rights of this game belongs to Khet 2.0 Laser Game.
Your team is in competition with several subcontractors to do the development, the best project will win the contract.
You are free to use whichever language/library you want, such as Python/Pygame or C/SDL, and your game must run on the three major platforms: Linux, Windows and Mac OS X.
The original theme was Ancient Egypt, you are free to keep it or imagine a new universe.
The game board has 8 rows and 10 columns. The main goal for a player is to shoot his opponent's Pharaoh with a laser.
The following pictures and some part of text are from the official rules. Feel free to read these.
Each player has the following pieces:
• Pharaoh (1 copy): if it is hit by a laser coming from any direction, the player losses the game.
• Sphinx(1copy):[login to view URL] any direction.
• Scarab (2 copies): it reflects lasers coming from any direction.
• Pyramid(7copies):itreflectslaserscomingfromtwodirections,andiskilledbylaserscomingfrom the two others directions.
• Anubis (2 copies): it absorbs lasers coming from one direction, and is killed by lasers coming from the three others directions.
Each piece has an orientation (north, sud, east or west) and can be rotated of 90 degrees clockwise or counterclockwise.
The sphinx must be oriented in order to its laser shoots inside the game board. So, it has only two possible directions.
Moves don't change the orientation of pieces.
The Sphinx cannot move.
The other pieces can move to one of the eight adjacent squares, if this one is empty and not belongs to the opponent camp (see subpart
Moreover, a Scarab can move to an adjacent square occupied by a Pyramid or an Anubis. In this case, they swap their positions.
2.1.4. Game board and initial configurations
There are three classical initial configurations : 1. Classic:
The squares marked in red (all squares of the first column, the first and last squares of the column before last) belong to the player who have the red pieces. His opponent cannot move one of his pieces on these squares.
Same thing for the squares marked in grey (all squares of the last column, the first and last squares of the second column).
When a laser hits a Scarab or the mirror face of a Pyramid, there is a 90 degree reflections and the laser goes on:
When a laser hits the non mirror face of a Pyramid, this one is destroyed and the laser stops:
When a laser hits the side or the back of an Anubis, this one is destroyed and the laser stops:
Players play one after the other. A player's turn consists in:
• moving OR rotating a piece
• shooting a laser with his Sphinx.
A player wins when a laser hits the Pharaoh of his opponent. 2.1.7. Resources
Here are some videos of what the game should look like :
• Khet on steam I
• Khet on steam II
2.2. Features to implement
Your implementation of the game must provide the following features.
2.2.1. Choice of the initial configuration
Players should be able to choose the initial configuration between (at least) the three classical ones.
2.2.2. Two players on the same computer
In this mode, players compete on the same computer.
2.2.3. Graphic rendering
Your requirement is to implement a 2D view from above. You are free to design your game in the way you want, insofar as all game features are present. When a laser is shot, its trajectory must be visible during a few seconds.
2.2.4. Editor of initial configurations
Players can create their own initial configurations and save them. They will be added at the list of pickable configurations before a game.