A bot to automate gathering resources and moving on the game board of sowclassic.com.
- 
Clone the repository:
git clone https://github.com/maegju/sowclassic-bot.git cd sowclassic-bot - 
Install the dependencies:
pip install -r requirements.txt
 - 
Rename
.env.exampleto.envand fill in your credentials:cp .env.example .env
 - 
Run the bot:
 
- 
Normal mode:
python game_bot.py
 - 
Headless mode:
python game_bot.py --headless
 - 
Clear map mode:
python game_bot.py --clear-map
 
- 
To generate the terrain grid image based on the navigation log, run the following command:
python draw_image.py
 - 
To generate a list of user bases from the log, run the following command:
 
- 
Prints output:
python user_bases.py
 - 
Save output to a .txt file:
python user_bases.py > data/user_bases.txt 
- 
Install the pre-commit hooks:
pre-commit install
 
This project is licensed under the MIT License - see the LICENSE file for details.

