So I have absolutely no clue why this doesn't work-- but the GUI doesn't respond to anything inside the getMove(GameState gameState)
method.
Even with a sleep to pause it after I make the move-- it simply does not show anything. Any help would be great. I'm so lost.
public class Engine extends Player {
private GameState copy;
public Engine(Color color, Direction direction) {
super(color, direction);
}
public Move getMove(GameState gameState) {
gameState.executeMove(new Move(4, 6, 4, 4));
try {
TimeUnit.SECONDS.sleep(1);
} catch (Exception e) {
e.printStackTrace();
}
return new Move(5, 6, 5, 4);
}
}