Ejemplo n.º 1
0
 public MetaGame(MetaDeck deck, Board board, CardCollection graveyard, Hand hand, BigInteger microstates)
 {
     this.Deck        = deck;
     this.Board       = board;
     this.Hand        = hand;
     this.Microstates = microstates;
     this.Graveyard   = graveyard;
 }
Ejemplo n.º 2
0
        public ManaTurnProbabilityCalculator(Deck deck, Func <Card, int> groupBy)
        {
            this.metadeck = new MetaDeck(deck, c => c);
            var handDistribution = metadeck.HandDistribution();

            this.MetaGames = handDistribution.Select(hd => new MetaGame(this.metadeck, new Board(), new CardCollection(), hd.Key, hd.Value));
            this.Stats     = new ManaTurnStats();
        }