Skip to main content

Implementation of a chess based game created by me and some friends for an RPG we play

Project description

Kageku

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.

Board

The board starts with a different configuration (as shown below)

. a b c d e f g h
8 k - r - - - - -
7 p p p - - - - -
6 - - - - - - - -
5 - - - - - - - -
4 - - - - - - - -
3 - - - - - - - -
2 - - - - - P P P
1 - - - - - R - K

Winning

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.

"Mana"

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.

Spawning pieces

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)

Pawn Knight Bishop Rook Queen
1 2 3 4 5

You cannot have more than 8 pawns, 2 knights, 2 bishops, 2 rooks and 1 queen.

Other details

  • You cannot move the pawns two squares up in the first move like you do in chess

Installation

To install this package you can use pip like:

pip install kageku

Requirements

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

python welcome.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Kageku-1.1.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

Kageku-1.1.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file Kageku-1.1.2.tar.gz.

File metadata

  • Download URL: Kageku-1.1.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.6.8

File hashes

Hashes for Kageku-1.1.2.tar.gz
Algorithm Hash digest
SHA256 5bc1f977553195dae420a303967d56c1d99cfcb332c1eb45b78bcf1b91cda229
MD5 72856bcd078e3842fa7c9590775f4fb2
BLAKE2b-256 2abdd5bd339bcab081e31d6aa57ca2b63e5f26d78161bef0cc2db1787b9f001f

See more details on using hashes here.

File details

Details for the file Kageku-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: Kageku-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.6.8

File hashes

Hashes for Kageku-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad4426e02bab4641d7ffbf2203bfa844715c2dbfb60f7213c65a79e23fac1a91
MD5 b6b99cb587bb593ffb41fc46a8cf4499
BLAKE2b-256 2185f3bf4f39e7a1053d7f3b78c8cd0cd367badc400e7a13a013cc5dd3e27786

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page