public MinesweeperServer(int port, boolean debug, Board board) throws IOException {
        serverSocket = new ServerSocket(port);
        MinesweeperServer.debug = debug;
        MinesweeperServer.board = board;
    }