TicTacToe-0.0.1: A sub-project (exercise) for a functional programming course

Data.TicTacToe.Position

Description

A position is one of the nine places on a tic-tac-toe grid.

Documentation

data Position Source

Constructors

NW

North-west (top left).

N

North (top centre).

NE

North-east (top right).

W

West (middle left).

C

Centre.

E

East (middle right)

SW

South-west (bottom left).

S

South (bottom centre).

SE

South-east (bottom right).