Example #1
0
 public IAMediumPlayer(IAMediumPlayer pl)
 {
     name               = pl.name;
     coeff_double       = pl.coeff_double;
     coeff_div          = pl.coeff_div;
     coeff_valeur       = pl.coeff_valeur;
     coeff_bloq         = pl.coeff_bloq;
     coeff_incertitude  = pl.coeff_incertitude;
     coeff_played       = pl.coeff_played;
     indice_mutuabilite = pl.indice_mutuabilite;
 }
Example #2
0
        public void Initialize()
        {
            for (int i = 0; i < players.Count(); i++)
            {
                players[i] = new IAMediumPlayer
                {
                    name               = "player " + i,
                    coeff_double       = rnd.NextDouble() * 50,
                    coeff_valeur       = rnd.NextDouble() * 50,
                    coeff_div          = rnd.NextDouble() * 50,
                    coeff_bloq         = rnd.NextDouble() * 50,
                    coeff_incertitude  = rnd.NextDouble() * 50,
                    coeff_played       = rnd.NextDouble() * 50,
                    indice_mutuabilite = (rnd.NextDouble() - 0.5)
                };
            }

            InitializeClassement();
        }