Hello. I'm trying to get this code to work and I need help with the RandomLocation method.
package boardgametester; import games.board.*; import games.utilities.*; public class BoardGameTester { /** * @param args the command line arguments */ public static void main(String[] args) { RandomLocation rl = new RandomLocation(); Board ticTacToe = new Board(3,3); ticTacToe.setCell(Mark.CROSS, Mark.NOUGHT, rl.getRandom(3), rl.getRandom(3)); System.out.println("TIC TAC TOE BOARD"); System.out.println(ticTacToe.toString()); Board connectFour = new Board(6,7); connectFour.setCell(Mark.YELLOW, Mark.RED, rl.getRandom(6), rl.getRandom(7)); System.out.println("CONNECT FOUR BOARD"); System.out.println(connectFour.toString()); Board mastermind = new Board(5,8); mastermind.setCell(Mark.YELLOW, Mark.RED, Mark.GREEN, Mark.BLUE, Mark.MAGENTA, Mark.ORANGE, rl.getRandom(5), rl.getRandom(8)); System.out.println("MASTERMIND BOARD"); System.out.println(connectFour.toString()); FileManager.writeToFileAsync(connectFour.toString(), "c4.txt"); FileManager.writeToFileAsync(ticTacToe.toString(), "ttt.txt"); FileManager.writeToFileAsync(mastermind.toString(), "mm.txt"); } } run: Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: games.board.Board.setCell at boardgametester.BoardGameTester.main(BoardGameTester.java:20) Java Result: 1 BUILD SUCCESSFUL (total time: 1 second)