Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("3 matchs taken");
            matches = matches - 1;
            players = players + 1;
            victory();
            oponent.getinfo(enemys, players, matches);
            var exitTurple = oponent.myturn(enemys, players, matches);

            enemys        = exitTurple.Item1;
            players       = exitTurple.Item2;
            matches       = exitTurple.Item3;
            textBox3.Text = enemys.ToString();
            textBox2.Text = matches.ToString();
            textBox1.Text = players.ToString();
        }