- Alexandre Contassot @alexConts
- Nathan Laporte @Sysmetryx
- Raphael Pastre @Raphiqui
The game should consist in a multiplayer mode. the different player controls a city in ancient Greece. Each city is linked to a Divinity and has two main ressources :
- Corn
- Gold
Moreover, each city has units that will be used for attack and defense.
Each Divinity needs its followers to make offerings, which can contains either gold, corn, or both. Please your God, and it will act kindly towards your city. Every once in a while a special event called Benediction might happen. This will give you bonuses to ressources. On the other hand, your god might treat you with contempt, and a Retribution will happen, which will most likely scar your city.
If you fail to please your god, it will wrath the earth.
To install this game:
git clone https://github.com/alexConts/Civilization-like.git
cd Civilization-like
yarn
yarn start
The program uses dotenv, and need an .env file at the root of the project. Here is an exemple :
TIME_FACTOR = 1
INTEREST = 0.1
DAILY_EARNING_CORN = 100
DAILY_EARNING_GOLD = 1
A divinity coud help th city with different action. Indeed, it could by flavor, give to your city some gold and corn
Each player have his own city where he could :
- buy different type of units
- put some of them in defense
- to a trade with another city to earn corns and golds
- launch an attack to another city and maybe win 70% of its ressources
- sell corn to earn gold and vice versa
There are three types of units:
- Rider
- Light Soldier
- Heavy Soldier Each unit have its own attack value, attack speed and HP. The cost of each kind of units is not the same.
We use TDD to realise our project. You can check this out :
yarn test
Our code also is xo verified but you can check this out with this commande:
xo