TicTacToe - 0.1.0

Logic.GameState

Definitions

Constructors

| noError : Error

no error occurred

| continue : StringError

a non-fatal error occurred

| terminate : StringError

a fatal occurred

Constructors

| state : BoardSymbolErrorGameState

showGameState : GameStateStringSource#

Textual representation of a GameState

player : GameStateSymbolSource#

Projects the player

won : GameStateBoolSource#

true if some player has won the game

draw : GameStateBoolSource#

true if there is a draw