package chess; import chess.controller.CommandExecutor; import chess.controller.commands.NewGameCommand; import chess.model.Game; import chess.view.DDDrender.DDDView; public class OpenGLMain { public static void main(String[] args) { Game game = new Game(); CommandExecutor commandExecutor = new CommandExecutor(game); DDDView ddd = new DDDView(commandExecutor); commandExecutor.addListener(ddd); commandExecutor.executeCommand(new NewGameCommand()); ddd.run(); commandExecutor.close(); } }