/awesome-battlesnake

A curated list of Battlesnake resources

Creative Commons Zero v1.0 UniversalCC0-1.0

Awesome Battlesnake Awesome

A curated list of Battlesnake resources

Contributing

Contributions welcome! Read the contribution guidelines first.

Contents

Battlesnakes

Developer Stories

Game Rules and Logic

Machine Learning and Data Science

Starter Projects

Battlesnake has an official list of starter projects, including those from the community. This section is reserved for any notable project templates that haven't made that list.

Strategies and Algorithms

This is not exhaustive--these topics are ones that members of the Battlesnake community have decided to share that they use for their snakes. Juicy secrets!

See also Useful Algorithms from the official documentation, where folks are beginning to contribute more details on how these algorithms apply to Battlesnake specifically.

  • A* (A-star) (A graph traversal and path search algorithm)
  • Flood Fill (An algorithm that helps determine areas that are open/connected)
  • Minimax (A tree search algorithm popular among battlesnakes, often paired with Alpha-beta pruning)
  • Monte Carlo tree search (MCTS) (A tree search algorithm with many variants, sometimes using random rollouts and Upper Confidence Trees)
  • NNUE (A neural network-based evaluation function that runs efficiently on CPUs)
  • Voronoi (Useful for estimating board area control)

Third-Party Tools

Tutorials

Miscellaneous