Battlesnake C# Starter
This is a basic implementation of the Battlesnake API. It's a great starting point for anyone wanting to program their first Battlesnake using C#. It can also be deployed to Azure, or any other cloud provider you'd like.
- Battlesnake Account
- Azure Account
- GitHub Account (Optional)
Running Your Battlesnake on Azure
For a quick setup you'll need a Rider or Visual Studio
- Clone this repository and open it in any mentioned IDE
https://github.com/neistow/battlesnake-starter-csharp.git
- You should install Azure Toolkit.
- Right click on Starter.Api and select "Publish" -> "Publish to Azure".
- Choose subscription type,location of server etc. If you have login error go to "Tools" -> "Azure" and login to your account
- Click Publish and wait until a link to your app appears in console and/or opens in browser. At this point you've deployed your snake.
- If you need to update your snake simply click "publish" and select existing app, after confirmation your snake will be updated and deployed automatically.
- Right click on Starter.Api and select "Publish" -> "App Service" -> "Create New".
- Choose subscription type,location of server etc.
- Click Publish and wait until a link to your app appears in console and/or opens in browser. At this point you've deployed your snake.
- If you need to update your snake simply click "publish" and select existing app, after confirmation your snake will be updated and deployed automatically.