Age of Empire is a mini turn-based strategy war game between the Egyptians and the Greeks! I recently picked up programming (Python 3 to be specific) and decided to try out classes/functions through creating a simple game. I make mini updates from time to time whenever I feel that it can further my learning and practice! It's nothing fanciful but still an original work I am proud of nonetheless! :)
Note: Age of Empire has since received a playable Telegram bot version (albeit without AI options) whose work can be found in this repository:
https://github.com/tjtanjin/telegram_aoe
Age of Empire is ran directly on the terminal and has options for the following gameplay:
1) Player versus Player
2) Player versus AI
3) AI vs AI
In addition to choosing gamemodes, the difficulty of the AI is also configurable (up to 4 different difficulties!) for players who would love a challenge! That said, the logic behind the decisions of the AI is very simple so skimming through the code might shed light on some useful strategies!
Technologies used by Age of Empire are as below:
Python
None (Terminal-based Application)
https://github.com/tjtanjin/age_of_empire
The following section will guide you through setting up Age of Empire to play!
- First, cd to the directory of where you wish to store the project and clone this repository. An example is provided below:
$ cd /home/user/exampleuser/projects/
$ git clone https://github.com/tjtanjin/age_of_empire.git
- From the base directory of the project, execute the following command and you will see the welcome screen if everything has been setup correctly, it's that simple!
$ python3 sdl-Age_Of_Empire_Version6.py
If you have code to contribute to the project, open a pull request and describe clearly the changes and what they are intended to do (enhancement, bug fixes etc). Alternatively, you may simply raise bugs or suggestions by opening an issue.
For any questions regarding the implementation of the project, please drop an email to: [email protected].