This assignment is designed to give you additional practice with native arrays. Also, it is awesome.

Tic-Tac-Toe

(...a game already in progress)

	X   O
	O X X
	  X O
 
'O', choose your location (row, column): 0 1

	X O O
	O X X
	  X O
 
'X', choose your location (row, column): 2 0

	X O O
	O X X
	X X O

The game is a tie.

// starter code for displaying the board.  You're welcome to modify this if you like.
public void displayBoard()
{
    System.out.println("THE BOARD");
    for ( int r=0; r<3; r++ )
    {
        System.out.print("\t");     // a tab at the beginning of the line
        for ( int c=0; c<3; c++ )
        {
            System.out.print( board[r][c] + " " );
        }
        System.out.println();       // end the line
    }
}