Skip to content

baikho/sowclassic-bot

Repository files navigation

sowclassic-bot

Secrets of War Crest

A bot to automate gathering resources and moving on the game board of sowclassic.com.

Installation

  1. Clone the repository:

    git clone https://github.com/maegju/sowclassic-bot.git
    cd sowclassic-bot
  2. Install the dependencies:

    pip install -r requirements.txt
  3. Rename .env.example to .env and fill in your credentials:

    cp .env.example .env
  4. 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

Game Bot

  1. To generate the terrain grid image based on the navigation log, run the following command:

    python draw_image.py
  2. 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

Developers

  1. Install the pre-commit hooks:

    pre-commit install

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A bot to automate gathering resources and moving on the game board of sowclassic.com

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages