/*Can someone help me with this, I can't seem to find the error it keeps erring at Void. Thanks*/
import java.util.*;
public class TicTacToeJNR
{
public int currentTurn, entryCount, setupBoard;
public int getMove, writeBoard;
private static char [][] board = new char [3][3];
private static char currentTurn;
}
public static void main(String[] args)
{
setupBoard ();
entryCount = O;
currentTurn = X;
for (entryCount = O; entryCount <9 entryCount ++)
{
getMove ();
writeBoard();
if (currentTurn == 'X')
currentTurn = 'O';
else currentTurn = 'X';
}
System.out.println ("Game Over");
row = keyboard.nextInt ();
col = keyboard.nextInt ();
board [row-1][col-1] = currentTurn;
public static void setupBoard ()
{
int row;
int col;
for (row = O; row <3; row ++
{
board [row] [col] = '+');
}
private static void setupBoard()
{
int row;
int col;
for (col = O; col <3; col ++)
{
board [row][col] = '+';
}
}
}