Snek v0.4.0 API Reference

Modules

A framework for defining Battlesnake-compatible rulesets and board positions.

A struct for representing a board position.

A struct for representing points on a board's grid.

A struct representing the size of a game board.

Represents a snake on a board.

A behaviour module for implementing variations of game rules.

The solo ruleset, based on the official Battlesnake solo rules.

The standard ruleset, based on the official Battlesnake rules.