Example #1
0
 def playcard(
     self,
     c: Card,
     game: Game.Game,
     network: DominionNetwork,
     draw: bool = True,
     mock: bool = False,
 ) -> int:
     self.actions -= 1
     c.use(self, game.trash)
     c.augment(self, draw)
     cards_from_deck = c.play(self, game, network, mock)
     return cards_from_deck + c.coins