09-15-2020, 09:52 AM
Eric meant the "Game.java" source file, with .java as file extension, not a subpackage named Java :)
Most of the standard AI methods (like selectAction()) already take a Game object as argument. If you have a variable of that type, you can just call the new getMovesFromCoordinates() method on that object (so it's a member of the Game objects, not a static method of the Game class).
Most of the standard AI methods (like selectAction()) already take a Game object as argument. If you have a variable of that type, you can just call the new getMovesFromCoordinates() method on that object (so it's a member of the Game objects, not a static method of the Game class).