Initial values are reference numbers
used to select a vacant square for
a turn.
The board
Square selection number for turn
Select player
Get valid player square selection
Get row index of square
Get column index of square
Check for a winning line - diagonals first
Check rows and columns for a winning line
Game is over so display the final board