Jungle-Chess
This is my first project written in Rust. Happy for contributors and feedback! The code is dirty.
Play Jungle Chess on an Emoji-Enabled Linux Terminal!
Install
You can download binaries from the releases tab or build from source by cloning this repo and invoking cargo run --features="build-binary"
.
Running ./jungle-chess
will start the 2-player local game.
Run ./jungle-chess --ai
to play a bot match.
See ./jungle-chess --help
for more info.
How to play
Each player tries to either:
- enter their opponent's Den (
🏠 ). - capture all opponent's pieces.
Player's play in turns. Each piece can move freely on the ground.
Capturing Pieces
Every piece can capture another piece of equal or lower rank.
In order to capture a piece, the following hierarchy holds:
- Elephant (
🐘 ) - Lion (
🦁 ) - Tiger (
🐯 ) - Leopard (
🐆 ) - Wolf (
🐺 ) - Dog (
🐕 ) - Cat (
🐱 ) - Rat (
🐭 )
Whereas the Elephant cannot capture the Rat (
The Rat (
Note, however, that if a piece is on an opponent's Trap (
Making a move
Every piece moves freely on the grass (
The Rat (
The Lion (
No Piece can enter their player's den(
Naturally, a piece can only move onto an occupied square, if it can capture the occupant.