mirror of
https://github.com/neogeek23/Dominion-Strategy-Simulator.git
synced 2026-02-04 11:08:18 +00:00
Refactored card typing to no longer be a piece of data but a feature of the object structure.
9 lines
225 B
Python
9 lines
225 B
Python
from card.card import Card
|
|
from math import floor
|
|
|
|
|
|
class Treasure(Card):
|
|
@classmethod
|
|
def pile_setup(cls, player_count):
|
|
return (floor(player_count/Card.normal_full_table) + 1) * cls.pile_player_rate
|