TicTacToe - 0.1.0

Logic.Square

Definitions

type SquareSource#

A square is each of the holes in a board

Constructors

| empty : Nat Square

An empty square has a Nat that uniquely identifies it

| occupied : Symbol Square

An occupied square has a Symbol in it

==Square : Square Square BoolSource#

Equality for Squares

showSquare : Square StringSource#

Textual representation of a Square