TicTacToe - 0.1.0

Logic.Square

Definitions

type SquareSource#

A square is each of the holes in a board

Constructors

| empty@{id : Nat}

An empty square has a Nat that uniquely identifies it

| occupied@{player : Symbol}

An occupied square has a Symbol in it

showSquare (square : Square) : StringSource#

Textual representation of a Square