TicTacToe - 0.1.0

Logic.Board

Definitions

open import Logic.Square public

open import Logic.Symbol public

type BoardSource#

A 3x3 grid of Squares

Constructors

| board : List (List Square)Board

possibleMoves : List SquareList NatSource#

Returns the list of numbers corresponding to the empty Squares

full : List SquareBoolSource#

true if all the Squares in the list are equal

showRow : List SquareStringSource#

Textual representation of a List Square