This project is an attempt to bring the text-based strategy game Hamurabi to Ansible. I intend to stay close to the BASIC version from David H. Ahl while also incorporating a few niceties to improve user experience.
The goal is to govern the Ancient Sumeria for a duration of 10 years, managing your grain between feeding your people, planting new crops, buying or selling land. Rats can randomly come and eat your stock of grains while plague can decimate your population. Be careful in your calculations!
The game ends if:
A successful play is measured by the ratio of owned land compared to the population: more than seven acres of land per people is a win.
The following packages are necessary:
Simply run the following command:
$ ansible-playbook hamurabi.yml
Note: testing requires
molecule as an additional dependency.
There is only one testing scenario right now, which tests player actions and their limits such as trying to sell too much land, planting crops without enough seeds, etc.
To run it:
$ molecule converge
Here is a list of features yet to be implemented:
Ansible is not exactly a comfortable medium to play video games. Consider yourself warned.
Tristan Le Guern email@example.com