Skip to content

iwo-strzebonski/RevasBot

Repository files navigation

RevasBot

Revas Simulations made simple

Now with SPEED


Requirements

  • Newest Anaconda or Miniconda OR Python 3.9.9
  • Microsoft Edge (HA!)
  • Microsoft Edge Driver

Installation

Anaconda

Create Anaconda Virtual Environment

conda env create -f environment.yml

Export Anaconda Virtual Environment

conda env export --no-builds > environment.yml

Activate Anaconda Virtual Environment

conda activate revasbot

Deactivate Anaconda Virtual Environment

conda deactivate

pipenv

Create pipenv Virtual Environment

python -m venv revasbot
Activate Virtual Environment
Unix/macOS
source env/bin/activate
Windows
.\env\Scripts\activate
Install packages from requirements.txt
pip install -r requirements.txt

Export PIP package list

pip list --format=freeze > requirements.txt

Usage

Start Bot

python -m main

At some point, bot will stop working. Open the terminal where it's working. You'll be asked to choose the game for the bot.
After selecting a game, the bot will continue working.


Additional features

Colorful CMD!

RevasBot uses ANSI codes for colorful messages. On Windows, if you are using Command Line, you need to install ansicon.

Works straight out of the box on PowerShell without any additional software.

Change Python file according to PEP-8 IN-PLACE

autopep8 <file_name> -i

Check PyLint score

pylint <module_name>

Check PyLint score with statistics

pylint <module_name> -r y