Ejemplo n.º 1
0
        private void _InitialScore()
        {
            var datas = new[]
            {
                new ChancesTable <int> .Data
                {
                    Key   = 1,
                    Value = 0.9f
                },
                new ChancesTable <int> .Data
                {
                    Key   = 2,
                    Value = 0.025f
                },
                new ChancesTable <int> .Data
                {
                    Key   = 3,
                    Value = 0.025f
                },
                new ChancesTable <int> .Data
                {
                    Key   = 5,
                    Value = 0.025f
                },
                new ChancesTable <int> .Data
                {
                    Key   = 10,
                    Value = 0.025f
                }
            };

            _ScoreOddsTable = new ScoreOddsTable(datas);
        }
Ejemplo n.º 2
0
 private void _InitialScore()
 {
     var datas = new[]
     {
         new ChancesTable<int>.Data
         {
             Key = 1,
             Value = 0.9f
         },
         new ChancesTable<int>.Data
         {
             Key = 2,
             Value = 0.025f
         },
         new ChancesTable<int>.Data
         {
             Key = 3,
             Value = 0.025f
         },
         new ChancesTable<int>.Data
         {
             Key = 5,
             Value = 0.025f
         },
         new ChancesTable<int>.Data
         {
             Key = 10,
             Value = 0.025f
         }
     };
     _ScoreOddsTable = new ScoreOddsTable(datas);
 }