Skip to content

chriswmorris/ImperiumStrife_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImperiumStrife_cli

Note: This is the text-based game, while the GUI version is currently in progress

alt text

A Turn-Based Strategy Game
Chris Morris
github.com/chriswmorris/

How to run:

python3 ImperiumStrife.py

Game Pieces

Soldiers

In order to win in a battle, the player must gather soldiers in order to have a greater probability of winning! Soldiers can be obtained through regu- lar gathering, Cards or Gambling. You must have equal than or a greater amount of food to keep your soldiers. Ex. If you have 100 Soldiers and 90 Food by the end of your turn, you will lose 10 soldiers.

Food

Food is an essential part of the game in order to keep soldiers! Every turn your soldiers will a eat a portion of the food. That amount is determined by the population of soldiers. Food can be obtained through regular gathering, Cards or Gambling.

Heroes

Heroes are wonderful companions! They boost your soldier size by 10 percent when engaged in a battle. They can only be obtained through Cards.

Spies

Spies are good to have on your side. They lower your enemy’s soldier size by 10 percent when in battle. They can only be obtained through Cards.

Instructions

The goal of the game is to defeat all the enemies and rule over all the land!

The Beginning

When running the game you will be asked to name your Kingdom. Name it something the enemy will fear! After you name your Kingdom, you and the other AI players will placed in a random order of turns.

Turns

Each player will take turns according to the random order. In the very beginning of each player’s turn, the soldiers will eat food. The amount is determined by the population of the soldiers. After, the player will be pre- sented with a series of options. A player can only choose one option per turn.
  • Invade
  • Choose a card
  • Farm 30 Food
  • Raise 30 Soliders
  • Random Gamble

After the turn is over, the amount of Food must be equal than or greater than the amount of your Soldiers. If your have more Soldiers than food, you will lose the amount of soldiers minus food.

Invasion

Invasion: invade a land! An AI player can also declare war on you. When you initate an invasion, you and the opponent place your soldiers on the battlefield and roll a die. The amount of soldiers you have and the higher roll determine if you will win.

Cards

When a player chooses to pick a random card, there is a probability of picking one out of fifteen possible cards. Each card is different and can be positive or negative towards your Kingdom. This is the only way to get Spies and Heroes.

Gamble

When a player chooses to Gamble, they will go to a pub to dice with other Lords. They cannot lose any items, but it can be a waste of a turn if they lose!

Releases

No releases published

Packages

No packages published

Languages