Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var STARTING_BOTTOM_LEFT = []api.Coord{{X: 1, Y: 1}, {X: 1, Y: 1}, {X: 1, Y: 1}}
View Source
var STARTING_BOTTOM_RIGHT = []api.Coord{{X: 9, Y: 1}, {X: 9, Y: 1}, {X: 9, Y: 1}}
View Source
var STARTING_TOP_LEFT = []api.Coord{{X: 1, Y: 9}, {X: 1, Y: 9}, {X: 1, Y: 9}}
View Source
var STARTING_TOP_RIGHT = []api.Coord{{X: 9, Y: 9}, {X: 9, Y: 9}, {X: 9, Y: 9}}
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { Id string GetMove AgentMoveFn }
type AgentMoveFn ¶
type AgentMoveFn func(*bitboard.BitBoard, string) bitboard.SnakeMoveSet
type Arena ¶
type Arena struct { Agents []Agent Rounds int Results []RoundResult // contains filtered or unexported fields }
func (*Arena) Initialize ¶
func (a *Arena) Initialize()
type RoundResult ¶
Click to show internal directories.
Click to hide internal directories.