private IEnumerator ThinkingAct(List <GameResult> gameResults)
    {
        ResultAnalysis analysis = Analyze(gameResults);

        finalResult = chooseFinalResult(analysis.finalScore, Subject.Thinking);

        generalAnalyze(gameResults);

        if (analysis.totalSuccess == 0)
        {
            possibleDialogue.Add(ResultCode.TNK_1);
        }
        else if (analysis.totalSuccess == 1)
        {
            possibleDialogue.Add(ResultCode.TNK_2);
        }
        else if (analysis.totalSuccess == 2)
        {
            possibleDialogue.Add(ResultCode.TNK_3);
        }
        else if (analysis.totalSuccess == 3)
        {
            possibleDialogue.Add(ResultCode.TNK_4);
        }
        else if (analysis.totalSuccess == 4)
        {
            possibleDialogue.Add(ResultCode.TNK_5);
        }
        else if (analysis.totalSuccess == 5)
        {
            possibleDialogue.Add(ResultCode.TNK_6);
        }
        else if (analysis.totalSuccess == 6)
        {
            possibleDialogue.Add(ResultCode.TNK_7);
        }
        else if (analysis.totalSuccess == 7)
        {
            possibleDialogue.Add(ResultCode.TNK_8);
        }
        else if (analysis.totalSuccess == 8)
        {
            possibleDialogue.Add(ResultCode.TNK_9);
        }

        if ((analysis.resultList[0] == true && analysis.resultList[1] == false && analysis.resultList[2] == true && analysis.resultList[3] == false && analysis.resultList[4] == true &&
             analysis.resultList[5] == false && analysis.resultList[6] == true && analysis.resultList[7] == false && analysis.resultList[8] == true && analysis.resultList[9] == false)
            ||
            (analysis.resultList[0] == false && analysis.resultList[1] == true && analysis.resultList[2] == false && analysis.resultList[3] == true && analysis.resultList[4] == false &&
             analysis.resultList[5] == true && analysis.resultList[6] == false && analysis.resultList[7] == true && analysis.resultList[8] == false && analysis.resultList[9] == true))
        {
            possibleDialogue.Add(ResultCode.TNK_12);
        }


        return(null);
    }
    private IEnumerator QuicknessAct(List <GameResult> gameResults)
    {
        ResultAnalysis analysis = Analyze(gameResults);

        finalResult = chooseFinalResult(analysis.finalScore, Subject.Quickness);

        generalAnalyze(gameResults);

        if (analysis.totalSuccess == 0)
        {
            possibleDialogue.Add(ResultCode.QUK_1);
        }
        else if (analysis.totalSuccess == 1)
        {
            possibleDialogue.Add(ResultCode.QUK_2);
        }
        else if (analysis.totalSuccess == 2)
        {
            possibleDialogue.Add(ResultCode.QUK_3);
        }
        else if (analysis.totalSuccess == 3)
        {
            possibleDialogue.Add(ResultCode.QUK_4);
        }
        else if (analysis.totalSuccess == 4)
        {
            possibleDialogue.Add(ResultCode.QUK_5);
        }
        else if (analysis.totalSuccess == 5)
        {
            possibleDialogue.Add(ResultCode.QUK_6);
        }
        else if (analysis.totalSuccess == 6)
        {
            possibleDialogue.Add(ResultCode.QUK_7);
        }
        else if (analysis.totalSuccess == 7)
        {
            possibleDialogue.Add(ResultCode.QUK_8);
        }
        else if (analysis.totalSuccess == 8)
        {
            possibleDialogue.Add(ResultCode.QUK_9);
        }

        if (analysis.grList[analysis.grList.Count - 1].gameName.Equals("NEmain"))
        {
            possibleDialogue.Add(ResultCode.QUK_36);
        }

        return(null);
    }
    //같은 부류의 멘트은 else if로 묶을 것 (예 : if(1번 성공) else if(2번 성공) else if(3번 성공)...)

    private IEnumerator AimingAct(List <GameResult> gameResults)
    {
        ResultAnalysis analysis = Analyze(gameResults);

        finalResult = chooseFinalResult(analysis.finalScore, Subject.Aiming);

        generalAnalyze(gameResults);

        if (analysis.totalSuccess == 0)
        {
            possibleDialogue.Add(ResultCode.AIM_1);
        }
        else if (analysis.totalSuccess == 1)
        {
            possibleDialogue.Add(ResultCode.AIM_2);
        }
        else if (analysis.totalSuccess == 2)
        {
            possibleDialogue.Add(ResultCode.AIM_3);
        }
        else if (analysis.totalSuccess == 3)
        {
            possibleDialogue.Add(ResultCode.AIM_4);
        }
        else if (analysis.totalSuccess == 4)
        {
            possibleDialogue.Add(ResultCode.AIM_5);
        }
        else if (analysis.totalSuccess == 5)
        {
            possibleDialogue.Add(ResultCode.AIM_6);
        }
        else if (analysis.totalSuccess == 6)
        {
            possibleDialogue.Add(ResultCode.AIM_7);
        }
        else if (analysis.totalSuccess == 7)
        {
            possibleDialogue.Add(ResultCode.AIM_8);
        }
        else if (analysis.totalSuccess == 8)
        {
            possibleDialogue.Add(ResultCode.AIM_9);
        }


        return(null);
    }
    private IEnumerator RhythmicSenseAct(List <GameResult> gameResults)
    {
        ResultAnalysis analysis = Analyze(gameResults);

        finalResult = chooseFinalResult(analysis.finalScore, Subject.RhythmicSense);

        generalAnalyze(gameResults);

        if (analysis.totalSuccess == 0)
        {
            possibleDialogue.Add(ResultCode.RHY_1);
        }
        else if (analysis.totalSuccess == 1)
        {
            possibleDialogue.Add(ResultCode.RHY_2);
        }
        else if (analysis.totalSuccess == 2)
        {
            possibleDialogue.Add(ResultCode.RHY_3);
        }
        else if (analysis.totalSuccess == 3)
        {
            possibleDialogue.Add(ResultCode.RHY_4);
        }
        else if (analysis.totalSuccess == 4)
        {
            possibleDialogue.Add(ResultCode.RHY_5);
        }
        else if (analysis.totalSuccess == 5)
        {
            possibleDialogue.Add(ResultCode.RHY_6);
        }
        else if (analysis.totalSuccess == 6)
        {
            possibleDialogue.Add(ResultCode.RHY_7);
        }
        else if (analysis.totalSuccess == 7)
        {
            possibleDialogue.Add(ResultCode.RHY_8);
        }
        else if (analysis.totalSuccess == 8)
        {
            possibleDialogue.Add(ResultCode.RHY_9);
        }

        return(null);
    }
    private IEnumerator ConcentrationAct(List <GameResult> gameResults)
    {
        ResultAnalysis analysis = Analyze(gameResults);

        finalResult = chooseFinalResult(analysis.finalScore, Subject.Concentration);

        generalAnalyze(gameResults);

        if (analysis.totalSuccess == 0)
        {
            possibleDialogue.Add(ResultCode.CON_1);
        }
        else if (analysis.totalSuccess == 1)
        {
            possibleDialogue.Add(ResultCode.CON_2);
        }
        else if (analysis.totalSuccess == 2)
        {
            possibleDialogue.Add(ResultCode.CON_3);
        }
        else if (analysis.totalSuccess == 3)
        {
            possibleDialogue.Add(ResultCode.CON_4);
        }
        else if (analysis.totalSuccess == 4)
        {
            possibleDialogue.Add(ResultCode.CON_5);
        }
        else if (analysis.totalSuccess == 5)
        {
            possibleDialogue.Add(ResultCode.CON_6);
        }
        else if (analysis.totalSuccess == 6)
        {
            possibleDialogue.Add(ResultCode.CON_7);
        }
        else if (analysis.totalSuccess == 7)
        {
            possibleDialogue.Add(ResultCode.CON_8);
        }
        else if (analysis.totalSuccess == 8)
        {
            possibleDialogue.Add(ResultCode.CON_9);
        }

        if (analysis.grList[analysis.grList.Count - 1].gameName.Equals("Cooking") && analysis.grList[analysis.grList.Count - 1].result == true)
        {
            possibleDialogue.Add(ResultCode.CON_12);
        }


        if (analysis.grList[analysis.grList.Count - 1].gameName.Equals("BoxingGame") && analysis.finalScore == 15)
        {
            possibleDialogue.Add(ResultCode.CON_13);
        }


        if (analysis.resultList[5] == false && analysis.resultList[6] == false && analysis.resultList[7] == false)
        {
            possibleDialogue.Add(ResultCode.CON_14);
        }



        return(null);
    }