Dice game doesn't show winnings correctly
<p>I'm coding a simple dice game. The form consists of 3 textboxes and a number of labels (I'll be changing 1 textbox to a label later).<br>
In the upper left corner the 3 dice values will appear.<br>
Left from the gamble textbox the total amount will appear.</p>

<ul>
<li>in the Gamble textbox you enter your guess</li>
<li>in the inzet textbox you enter the amount of money you want to wager</li>
<li>in the Winnings textbox the amount of money you win should be displayed</li>
</ul>

<p>Criteria,</p>

<ul>
<li>when you throw 3 sixes you get a bonus of 20</li>
<li>when you throw a set of anything below 6 you get a bonus of 10</li>
<li>when you throw double anything you get a bonus of 5</li>
<li>when your gamble is correct your inzet is doubled (inzet = 1 you win 2)</li>
<li>winnings has to display the bonus + inzet</li>
</ul>

<p>The problem is Winnings only updates when your gamble equals total amount and seems to apply only the +5 bonus.</p>

<p>Here's the code:</p>

<pre><code>{
public partial class Form1 : Form
{
    private Random throwDice = new Random();
    private int total;
    private int inzet;
    private int gamble;
    private int prize;
    private int bonus;
    public Form1()
    {
        InitializeComponent();

    }

    private void button1_Click(object sender, EventArgs e)
    {
        int die1, die2, die3;

        die1 = throwDice.Next(1, 7);
        die2 = throwDice.Next(1, 7);
        die3 = throwDice.Next(1, 7);

        label1.Text = die1.ToString();
        label2.Text = die2.ToString();
        label3.Text = die3.ToString();
        label4.Text = Convert.ToString(die1 + die2 + die3);

        total = Convert.ToInt32(label4.Text);
        inzet = Convert.ToInt32(textBox1.Text);
        gamble = Convert.ToInt32(textBox2.Text);

        if (gamble == total)
        {
            if (die1 == 6 &amp;&amp; die1 == die2 &amp;&amp; die1 == die3)
            {
                bonus = 20;
            }
            else if (die1 == die2 &amp;&amp; die1 == die3)
            {
                bonus = 10;
            }
            else if (die1 == die2)
            {
                bonus = 5;
            }
            else if (die2 == die3)
            {
                bonus = 5;
            }
            else if (die1 == die3)
            {
                bonus = 5;
            }
            prize = inzet * 2 + bonus;
            textBox3.Text = prize.ToString();

        }
        else if (gamble &lt; total &amp;&amp; gamble &gt; total)
        {
            if (die1 == 6 &amp;&amp; die1 == die2 &amp;&amp; die1 == die3)
            {
                bonus = 20;
            }
            else if (die1 == die2 &amp;&amp; die1 == die3 )
            {
                bonus = 10;
            }
            else if (die1 == die2)
            {
                bonus = 5;
            }
            else if (die2 == die3)
            {
                bonus = 5;
            }
            else if (die1 == die3)
            {
                bonus = 5;
            }
            prize = (inzet - inzet) + bonus;
            textBox3.Text = prize.ToString();
        }
    }

}
</code></pre>

<p>I need to get the 6 6 6 bonus to work (and the other set bonuses).
Also I need the bonus to apply when your gamble doesn't equal the dice total.</p>
