Example #1
0
        private static Move1000 GetMove(int MaxIndex)
        {
            Move1000 m = new Move1000();

            m.Marriage = 1 == (MaxIndex / 52);
            m.card     = (Karta)(MaxIndex % 52);
            return(m);
        }
Example #2
0
        public Move1000 CalculateMove(ConclusionAboutGame game)
        {
            game.MoveContext = MoveContext1000.Game;
            var      hist     = donwloadHistogramFigure(game);
            int      MaxIndex = hist.FindMaxIndex();
            Move1000 m        = GetMove(MaxIndex);

            return(m);
        }