A terminal python game which takes heavy inspiration from the game clash of clans
P
: Represents the King controlled by the player!
: Represents the Barbarian (your ally)W
: Represents a wallH
: Represents a pixel of the hut{
: Represents a pixel of the cannonx
: Represents a spawner for the BarbariansT
: Represents a pixel of the townHall
w
,s
,a
,d
: To move the king Up, Down, Left and Right respectivelyspace
: To perform an AoE (Leviathan Axe)1
,2
,3
: Spawns a barbarian at one of the pre-defined spawnersr
: Deploy rage spell (Movement speed and damage of all troops)h
: Deploy heal spell (Every troops health is increased to 1.5x but capped at their maximum health)q
: Quits the game
- Navigate to the repository
cd /pat/to/repository
- Install the required packages
pip3 install -r requirements.txt
- Enjoy! :D
python3 main.py
You can now watch replays for your gameplay. Simply play a game and then run,
python3 replay.py replays/replay_name