Generating magic squaresTopDefining MatrixTic Tac Toe

Tic Tac Toe

We first looked at a tic-tac-toe program to see how to access the elements of a two dimensional list. Examining this program showed how to map from the location of a mouse click to a row and column in a two-dimensional list and how to traverse a row, column, or diagonal of a two-dimensional list.


Generating magic squaresTopDefining MatrixTic Tac Toe