remove board from constructor

This commit is contained in:
2025-04-16 19:29:31 +02:00
parent bee5e613bb
commit 17ef882d44
5 changed files with 13 additions and 21 deletions

View File

@@ -5,14 +5,13 @@ package chess;
import chess.controller.CommandExecutor;
import chess.controller.commands.NewGameCommand;
import chess.model.ChessBoard;
import chess.model.Game;
import chess.simulator.PromoteTest;
import chess.view.consolerender.Console;
public class ConsoleMain {
public static void main(String[] args) {
Game game = new Game(new ChessBoard());
Game game = new Game();
CommandExecutor commandExecutor = new CommandExecutor(game);
PromoteTest promoteTest = new PromoteTest(commandExecutor);