Versions in this module Expand all Collapse all v0 v0.1.1 Jan 18, 2021 v0.1.0 Jan 14, 2021 Changes in this version + var Cross = game.Player(game.Black) + var Nought = game.Player(game.White) + var Pass = game.Single(-1) + type MNK struct + func New(m, n, k int) *MNK + func TicTacToe() *MNK + func (g *MNK) ActionSpace() int + func (g *MNK) AdditionalScore() float32 + func (g *MNK) Apply(m game.PlayerMove) game.State + func (g *MNK) Board() []game.Colour + func (g *MNK) BoardSize() (int, int) + func (g *MNK) Check(m game.PlayerMove) bool + func (g *MNK) Clone() game.State + func (g *MNK) Ended() (ended bool, winner game.Player) + func (g *MNK) Eq(other game.State) bool + func (g *MNK) Format(s fmt.State, c rune) + func (g *MNK) Fwd() + func (g *MNK) Handicap() int + func (g *MNK) Hash() game.Zobrist + func (g *MNK) Historical(i int) []game.Colour + func (g *MNK) LastMove() game.PlayerMove + func (g *MNK) MoveNumber() int + func (g *MNK) Passes() int + func (g *MNK) Reset() + func (g *MNK) Score(p game.Player) float32 + func (g *MNK) SetToMove(p game.Player) + func (g *MNK) ToMove() game.Player + func (g *MNK) UndoLastMove()