Question: First picture are the instructions import java.util.Scanner; This program is preparing to play a Tic-tac- toe game For now, it should only place X-s on
import java.util.Scanner; This program is preparing to play a Tic-tac- toe game For now, it should only place X-s on the board in the place specified by the user on each turn Here, you should implement the method printBoard() that should print a "board" passed to it. Notice that the board is shifted to the right a bit. You should do it too! Don't change your main. Eventually your output should look something like this: 1 2 3 2 Where do you want to place x? Enter row and column (separated by blank space): 2 2 1 2 3 Where do you want to place X? Enter row and column (separated by blank space) 3 3 Where do you want to place x? Enter row and column (separated by blank space): ..- and so on
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
