This a battlesnake server implementing the Battlesnake API to participate in the Battlesnake Saskatchewan event built by a group of 2nd year Usask CS Majors
Starter code taken from the Battlesnake Python Starter Project
Fork this repo and add it to your repl account, then run python server.py
to launch the server. You will get a URL to give to your Battlesnake account to test your snake. PR's to the main branch on this repo will update the Competition Snake on the Team's account on Battlesnake.
Although repl is the easiest to just get the snake running for testing, there are a few other options
- You could run this server on your machine, but you would need to set up a port forwarding tool
- You can set up a function app on Azure, and through the U of S we get $100 compute credits for free, so this is a decent alternative
Fork this repo and add it to your repl account, then run python app/server.py
to launch the server. You will get a URL to give to your Battlesnake account to
test your changes. PR's to this repo will update the Competition Snake, which will be connected to Our Team on Battlesnake.
This project uses pytest. simply run pytest
in the root of the directory. You will need pytest installed either globally or in a virtual environment.
You will need the CherryPy module installed on your repl for this to work. If you are having trouble running the server on repl, make sure you install cherrypy using pip.