Proper classes

This commit is contained in:
2020-11-08 15:37:01 +01:00
parent de91c6a9cc
commit 5b742c9b5d
7 changed files with 163 additions and 8 deletions

35
readme.md Normal file
View File

@@ -0,0 +1,35 @@
AoE Bot
=======
Preparation
-----------
- Install python > 3.8
- Install these libraries from an administrator terminal (windows):
- pip install pywin32
- pip install keyboard
- pip install pyautogui
- pip install opencv-python
Start
------
run aoe_bot.py before starting the game. It will wait for the startscreen and do some standard actions when the game has started:
- order 4 villagers
- assign hotkeys: 1: scout, 2-4: villagers
- build first house with villagers 1+2
- build second house with villager 3
- jump to scout
After this it will collect screenshots during the game to train data
Interesting Links
------------------
- [Tutorial video + notes](https://github.com/KianBrose/Image-Recognition-Botting-Tutorial/blob/master/README.txt)
- [Pyautogui Doc](https://pyautogui.readthedocs.io/en/latest/keyboard.html)
- [PIL doc](https://pillow.readthedocs.io/en/stable/reference/Image.html)
- [Draw Image api](https://pillow.readthedocs.io/en/stable/reference/ImageDraw.html)
- [Draw Image Example](http://effbot.org/imagingbook/imagedraw.htm)
- [AoE Hotykey editor](https://aokhotkeys.appspot.com/editor)
- [Structureing your python project](https://python-docs.readthedocs.io/en/latest/writing/structure.html)