Пример #1
0
        public string ganador()
        {
            Liebre  l   = new Liebre();
            Tortuga t   = new Tortuga();
            string  win = "";

            for (int i = 0; i <= 80; i++)
            {
                //if(l.Salto)
            }
            return(win);
        }
Пример #2
0
        private void btnCorrer_Click(object sender, EventArgs e)
        {
            Liebre m = new Liebre();

            txtMuestra.Text += Convert.ToString(m.Avanzar()) + Environment.NewLine;
        }