GitHub Readme.md
A simple Battlesnake AI written in Python.
Visit https://github.com/battlesnakeio/community/blob/master/starter-snakes.md for API documentation and instructions for running your AI.
This AI client uses the bottle web framework to serve requests and the gunicorn web server for running bottle on Heroku. Dependencies are listed in requirements.txt.
Clone repo to your development environment:
git clone git@github.com:<your github username>/starter-snake-python.git
pip install -r requirements.txt
python app/main.py
curl -XPOST -H 'Content-Type: application/json' -d '{ "hello": "world"}' http://localhost:8080/start
heroku create [APP_NAME]
git push heroku master
heroku open
or visit http://APP_NAME.herokuapp.com.
heroku logs
command:heroku logs --tail
Email battlesnake@sendwithus.com, or tweet @send_with_us.