mirror of
https://github.com/neogeek23/Dominion-Strategy-Simulator.git
synced 2026-02-04 19:18:18 +00:00
Fixed a bug with playing cards that involve discarding. Previously gain-trash cards would discard the gained card rather than the played under some conditions. Fixed a bug with scoring the game that cause the game crash. Added a Big Money Bot.
10 lines
195 B
Python
10 lines
195 B
Python
from table.supply import Supply
|
|
|
|
class Pile(Supply):
|
|
def __init__(self, card):
|
|
self.__card_group = card
|
|
Supply.__init__(self)
|
|
|
|
def get_card_group(self):
|
|
return self.__card_group
|