Versions in this module Expand all Collapse all v0 v0.2.2 May 30, 2020 v0.2.1 May 30, 2020 Changes in this version + const O + const SIZE + const X + var ErrGameNotOver = errors.New("Game is not finished") + var ErrInvalidMove = errors.New("Move is invalid") + type Game struct + func NewGame() Game + func (g Game) ApplyAction(m Move) (Game, error) + func (g Game) GetActions() (moves []Move) + func (g Game) IsTerminal() bool + func (g Game) Player() byte + func (g Game) String() string + func (g Game) Winner() (byte, error) + type Move struct