Getting started with Battlesnake and Python
This is a basic implementation of the Battlesnake API in Python. It's a great starting point for anyone wanting to program their first Battlesnake using Python, and comes ready to deploy with Replit and Heroku, or you can use any other cloud provider you'd like.
Technologies Used
Quickstart
The Quick Start Coding Guide provides the full set of instructions to customize, register, and create your first games with your Battlesnake! While the guide uses Repl.it as an example host, the instructions can be modified to work with any hosting provider. You can also find advice on other hosting providers on our Hosting Suggestions page.
Prerequisites
- A free Battlesnake Account
Customizing Your Battlesnake
Locate the handle_info
function inside server.py. At the end of that function you should see a line that looks like this:
return {
"apiversion": "1"
"author"
…