🐐
This commit is contained in:
@@ -56,7 +56,7 @@ class PlayerState:
|
||||
def draw_to_full(self):
|
||||
"""Draw cards until hand has HAND_SIZE cards or deck is empty."""
|
||||
while len(self.hand) < HAND_SIZE and self.deck:
|
||||
self.hand.append(self.deck.pop(0))
|
||||
self.hand.append(self.deck.pop())
|
||||
|
||||
def refill_energy(self):
|
||||
self.energy = self.energy_cap
|
||||
|
||||
Reference in New Issue
Block a user