Implementation of a chess based game created by me and some friends for an RPG we play
What "Kageku" is?
"Kageku" is a game created in one night to be one of the side games me and my friends can play inside our RPG to obtain resources inside it if we play well.
This game is played with a chess board and pieces and works just like chess, but with some key differences.
The board starts with a different configuration (as shown below)
To win, you must either take your opponent's king (yes, no checkmate) or promote a pawn.
The ideia behind not having the obligation to checkmate to win is both to be more simple to people who aren't used to playing chess and potentially speeding up the games.
In the game we have a system that resembles a mana system that caps your plays in your turn. The use of it is stated below.
To calculate how much mana do you have at any given point, you will count the number of friendly pawns you have at your opponent side of the field and add one if you have a friendly pawn in your side of the field.
This is the use of the mana. Each turn you can summon any amount of pieces you want as long as the combined cost of all of them is less than or equal to your mana. Pieces that can spawn other pieces references to all pieces in which you can spawn other pieces in empty squares adjacent to them (only up, down, left and right are considered adjacent). To know if a piece can spawn other pieces, you will check if this piece is adjacent to another piece that is able to spawn pieces. The king is always a piece that can spawn others.
The table of pieces costs is the following (for now)
You cannot have more than 8 pawns, 2 knights, 2 bishops, 2 rooks and 1 queen.
- You cannot move the pawns two squares up in the first move like you do in chess
To install this package you can use
pip install kageku
You'll need Python to run this project (I'm using Python 3.6.8, I don't know if everything works in a different version). No special package is required!
To run the welcome program you'll need to run this command
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.