Magic squaresTopMulti-Dimensional arraysTic 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 array. Examining this program showed how to map from the location of a mouse click to a row and column in a two-dimensional array and how to traverse a row, column, or diagonal of a two-dimensional array.


Magic squaresTopMulti-Dimensional arraysTic Tac Toe