Versions in this module Expand all Collapse all v1 v1.0.31 Mar 30, 2022 Changes in this version + type Board struct + Food []Coord + Hazards []Coord + Height int32 + Snakes []Snake + Width int32 + type Coord struct + X int32 + Y int32 + func CoordFromPoint(pt rules.Point) Coord + func CoordFromPointArray(ptArray []rules.Point) []Coord + type Customizations struct + Color string + Head string + Tail string + type Game struct + ID string + Ruleset Ruleset + Source string + Timeout int32 + type MoveResponse struct + Move string + Shout string + type RoyaleSettings rules.RoyaleSettings + type Ruleset struct + Name string + Settings rules.Settings + Version string + type RulesetSettings rules.Settings + type Snake struct + Body []Coord + Customizations Customizations + Head Coord + Health int32 + ID string + Latency string + Length int32 + Name string + Shout string + Squad string + type SnakeMetadataResponse struct + APIVersion string + Author string + Color string + Head string + Tail string + Version string + type SnakeRequest struct + Board Board + Game Game + Turn int32 + You Snake + type SquadSettings rules.SquadSettings