add general ai

This commit is contained in:
2025-04-16 19:21:47 +02:00
parent 78d48fafc6
commit 923ace22f1
10 changed files with 87 additions and 51 deletions

View File

@@ -61,7 +61,7 @@ public class Console implements GameListener {
}
@Override
public void onPlayerTurn(Color color) {
public void onPlayerTurn(Color color, boolean undone) {
if (!captureInput)
return;
System.out.println(Colors.RED + "Player turn: " + color + Colors.RESET);