Super IA #5

Merged
Persson-dev merged 15 commits from deepmind into main 2025-04-30 18:28:02 +00:00
Showing only changes of commit 5c4797c451 - Show all commits

View File

@@ -68,6 +68,12 @@ public class GameSimulation extends GameAdaptator {
sendCommand(new NewGameCommand()); sendCommand(new NewGameCommand());
} }
@Override
public void onPlayerTurn(Color color, boolean undone) {
if (undone)
sendCommand(new UndoCommand());
}
public CommandExecutor getCommandExecutor() { public CommandExecutor getCommandExecutor() {
return simulation; return simulation;
} }