Question: JAVA: Tic-Tac-Toe Create a simple game of Tic-Tac-Toe using Java. Be able to play mutliple games and keep score (including ties) Most functions to be
JAVA: Tic-Tac-Toe
Create a simple game of Tic-Tac-Toe using Java.
Be able to play mutliple games and keep score (including ties)
Most functions to be inside methods. Place as much as you can in methods.
Print the board out each turn. This includes the starting "empty" board and after each player's turn
Reset the board when a new game is started
This program can be done with a single array. You do not need to create multiples.
The output does not have to match exactly.
Sample output:

and some more sample output:
Let's play Tic-Tac-Toe! Here is the empty board! Player 1, enter the row number that you would like to play on: 3 Great! Now enter the column number: 1 Here is the current board Player 2, enter the row number that you would like to play on: 1 Great! Now enter the column number 1 Here is the current board! Player 1, enter the row number that you would like to play on: 2 Great! Now enter the column number 2 Here is the current board! Player 2, enter the row number that you would like to play on:1 Great! Now enter the column number: 3 Here is the current board
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
