public String run() throws IOException {
        Boolean isGameOver = false;
        String message = "";
        String totalMessage = "";

        output.print(startMessage());

        while (!isGameOver) {
            String inputNumber = bufferedReader.readLine();
            message = this.runOneStep(inputNumber);
            output.print(message);
            if(message.equals(GAME_OVER) || message.equals(SUCCESS_MESSAGE)) {
                isGameOver = true;
            }
            totalMessage += message;

        }
        return totalMessage;
    }