Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type HexSet ¶
type HexSet map[Hex]struct{}
func (HexSet) MarshalJSON ¶
func (*HexSet) UnmarshalJSON ¶
type State ¶
type State struct { Board Board `json:"board"` NextPlayer Player `json:"nextPlayer"` MovesRemaining int `json:"movesRemaining"` MarblesPerMove int `json:"marblesPerMove"` LossThreshold int `json:"lossThreshold"` }
func (*State) Update ¶
like all functions in this implementation, this returns a copy if given an invalid move, behavior is undefined
func (*State) ValidFuture ¶
Click to show internal directories.
Click to hide internal directories.