Skip to content

neistow/battlesnake-starter-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Technologies Used

Prerequisites

Running Your Battlesnake on Azure

For a quick setup you'll need a Rider or Visual Studio

  1. Clone this repository and open it in any mentioned IDE
https://github.com/neistow/battlesnake-starter-csharp.git

Rider

  1. You should install Azure Toolkit.
  2. Right click on Starter.Api and select "Publish" -> "Publish to Azure". rider64_dHp9DKUBkh rider64_FcBaZNPtVG
  3. Choose subscription type,location of server etc. If you have login error go to "Tools" -> "Azure" and login to your account rider64_SB5qMCBKTM
  4. 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. rider64_1xs3suV3aB
  5. If you need to update your snake simply click "publish" and select existing app, after confirmation your snake will be updated and deployed automatically.

Visual Studio

  1. Right click on Starter.Api and select "Publish" -> "App Service" -> "Create New". nXystE79yb
  2. Choose subscription type,location of server etc. devenv_jU0squqFWl
  3. 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. devenv_jK3BxfPRi3
  4. If you need to update your snake simply click "publish" and select existing app, after confirmation your snake will be updated and deployed automatically.

About

A simple Battlesnake written in C#. https://play.battlesnake.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages