Ejemplo n.º 1
0
    private void TempRound()
    {
        string[]        names     = playerHolder.GetRandomPlayerlist();
        List <string[]> tempRound = new List <string[]>();

        tempRound.Add(questionHolder.GetRandomQuestion(new string[] { "1" }, new string[] {}, names[0]));
        tempRound.Add(questionHolder.GetRandomQuestion(new string[] { "1" }, new string[] { }, names[1]));
        tempRound.Add(questionHolder.GetRandomQuestion(new string[] { "1" }, new string[] { }, names[2]));
        questions.Add(tempRound);
        tempRound = new List <string[]>();
        tempRound.Add(questionHolder.GetRandomQuestion(new string[] { "2" }, new string[] { }, names[3]));
        tempRound.Add(questionHolder.GetRandomQuestion(new string[] { "2" }, new string[] { }, names[4]));
        tempRound.Add(questionHolder.GetRandomQuestion(new string[] { "2" }, new string[] { }, names[5]));
        questions.Add(tempRound);
        tempRound = new List <string[]>();
        tempRound.Add(questionHolder.GetRandomQuestion(new string[] { "3" }, new string[] { }, names[6]));
        tempRound.Add(questionHolder.GetRandomQuestion(new string[] { "3" }, new string[] { }, names[7]));
        tempRound.Add(questionHolder.GetRandomQuestion(new string[] { "3" }, new string[] { }, names[0]));
        questions.Add(tempRound);
        print("here " + questions[0][0]);
        print("here " + questions[1][1]);
        print("here " + questions[2][2]);
    }