My API for Battlesnake.
To run this api locally, simply run make build && make run
, and it will launch the server on localhost:8080
. It follows the API defined in the Battlesnake docs. There is an additional /health
endpoint.
cmd/server
defines the server functionality for the server. This is where the handler and routes are defined.
internal
contains general functionality that can be abstracted for the program. This includes structs, errors, and packages.
battle
contains different implementations of the snake
interface.
- Deployments with Github Actions and Heroku
- Set up base snake API
- Create a more intelligent snake
- Dynamically switch snakes with authenticated endpoint
- Add testing suite
- Prioritize directions