feat: add audio
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user