示例#1
0
        public Turn BeginTurn(Game game)
        {
            var scope = game.StartTurn(this);
            var turn  = BeginTurn(scope);

            return(turn);
        }
示例#2
0
        public void EndGameCleanup(Game game)
        {
            var scope = game.StartTurn(this);

            Hand.Discard(DiscardPile, scope);
            DiscardPile.Into(Deck, scope);
        }
示例#3
0
        public int CountScore(Game game)
        {
            var scope = game.StartTurn(this);
            int score = 0;

            score = Deck.Aggregate(score, (i, card) => i + card.Score(scope));
            return(score);
        }