C# roll dice minimize number of dice every round
<p>i need help please anyone. I did an array and a loop that stops when a number is identified. Its not suppose to happen that way.</p>

<p>It rolls 5 dice but when a number is identified, it should lessen the number of dice for the next round. It plays 3 rounds altogether until that number is identified. It should identify 6 then 5 .... only three round is given.</p>

<p>The problem is i want it to display everything in the array before and tell that the number exist.</p>

<pre><code>public dice()
        {
            int Round = 0;
            int Dice = 5;
            int Six = 6;
            int Five = 5;
            int Four = 4;
            int NOW = Six;


                do
                {                      
                    for (int i = 0; i &lt; Dice; i++)
                    {
                        {
                            rolldice();
                            Console.Write("{0} ", die.Face());
                        }
                    }
                        if (die.Face() == NOW)
                        {

                            Dice--;
                            Console.WriteLine("You got SIX");
                            Now = Five;
                        }
                        Console.WriteLine("ENTER to roll {0} dice", Dice);             
                        Round++;
                }
                while (Round &lt; 3);
</code></pre>

<p>Should display:</p>

<p>4 3 2 4 6
you got SIX</p>

<p>ENTER to roll 4 dice</p>

<p>1 1 5 3
you got FIVE</p>

<p>ENTER to roll 3 dice</p>
