The lab is done in pairs.
Use Java GUI to implement a game of Tic-Tac-Toe: the user clicks on squares, the computer responds with a random move. Ideally when someone wins, there should be some message displayed. Illegal moves (clicking on a square already taken) should not be allowed. Ideally an error message should be displayed.
Use 2-dimensional array to keep track of which squares have marks on them.
As a minimum, your GUI should compile, run, and implement the basic functionality. Feel free to add extra features (colors, marks other than X and O, sounds(?)) - be creative. Extra features may count as extra credit if all of the basic functionality is working.
Submit the java file with all your testing code by e-mail to me. The subject of the message must be 2101 Last Lab. Make sure to CC your group partner.