A Battlesnake.io Snake AI server written in Go
Written for Battlesnake Snake API version 2018.03.beta (found at https://docs.battlesnake.com/snake-api)
-
Download and install Go (version 1.12) from https://golang.org/doc/install
-
Clone repo to your GOPATH src folder:
git clone https://github.com/sanderaido/go-battlesnake.git %GOPATH%/src/github.com/sanderaido/go-battlesnake
-
Run the server with:
go run github.com/sanderaido/go-battlesnake
-
The AI is accessible at http://localhost:8080/
go test github.com/sanderaido/go-battlesnake/...