/** * * CSC 225 - Online * Tic Tac Toe */ public class TicTacToe { public static void main(String[] args) { gameBoard(); } public static void gameBoard( ) { int[][] test = new int [3][3]; int i, j; System.out.println( " Tic Tac Toe Game " ); for (i = 0; i < 3; i++) { System.out.println("----------------"); for(j = 0; j < 3; j++) { System.out.print("| " ); } System.out.println("| "); } System.out.println( "----------------"); System.out.println(" "); } }
I need help problem solving. I'm really struggling with my logic on creating my Tic Tac Toe game. I have a game board but I need to take the next step of creating input for the game. Can anyone coach me? Thanks Again!