Question: I need help doing a TicTacToe game in JAVA. It has to be two dimensional array, user plays against CPU. Ask the user for two
I need help doing a TicTacToe game in JAVA. It has to be two dimensional array, user plays against CPU. Ask the user for two ints to determine where he wants to place an X. Then update the 2D array with an X in the position given by user. After the user places an X, randomly generate a position to place an O. Display the board every time an X or an O is placed. Keep showing the board over and over until someone wins. (while loop needed)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
