Esempio n. 1
0
 Game(PlayerIndex firstDealer, RuleSetting rule)
 {
     this.rule        = rule;
     this.firstDealer = firstDealer;
     scoreOwners      = new ScoreOwner[4];
     for (int i = 0; i < scoreOwners.Length; ++i)
     {
         scoreOwners[i] = new ScoreOwner(this);
     }
 }
Esempio n. 2
0
        static public AfterDraw Create(PlayerIndex firstDealer, RuleSetting rule)
        {
            var game = new Game(firstDealer, rule);

            return(game.StartRound());
        }