feat: add audio

This commit is contained in:
2025-04-30 20:41:10 +02:00
parent 3b38e0da1f
commit 3b225d9e23
11 changed files with 47 additions and 15 deletions

View File

@@ -16,11 +16,11 @@ public class SwingMain {
Game game = new Game();
CommandExecutor commandExecutor = new CommandExecutor(game);
Window window = new Window(commandExecutor, false);
Window window = new Window(commandExecutor, true);
commandExecutor.addListener(window);
AI ai = new AlphaBetaAI(commandExecutor, Color.Black, 5);
commandExecutor.addListener(ai);
// AI ai = new AlphaBetaAI(commandExecutor, Color.Black, 5);
// commandExecutor.addListener(ai);
// AI ai2 = new AlphaBetaAI(commandExecutor, Color.White, 5);
// commandExecutor.addListener(ai2);