Skip to content

AVAST-Python/battlesnake-server

Repository files navigation

Prepare environment

python -m virtualenv .venv source .venv/bin/activate

pip install flask pip install python-dotenv pip install flask-cors pip install RestrictedPython

(TO-DO) pip install -r requirements.txt

Documentation

https://docs.battlesnake.com/api/webhooks

How to create a bot: /snake/string:user/

Run

export $(xargs <.env)
python -m flask run --reload -p 8080
python -m flask run --reload -p 8080 --debug

ngrok

ngrok http 8080

About

UNSECURE Server for letting students play Battlesnake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published