diff options
Diffstat (limited to 'swiftstory')
-rw-r--r-- | swiftstory/Board.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/swiftstory/Board.py b/swiftstory/Board.py index f69c2d0..40d3ab7 100644 --- a/swiftstory/Board.py +++ b/swiftstory/Board.py @@ -25,9 +25,7 @@ class Board: self.black_recycled = [] - card = self.black_pick.pop() - - self.current_black_card = card + self.current_black_card = self.black_pick.pop() def recycle_black_card(self): self.black_recycled.append(self.current_black_card) @@ -40,9 +38,7 @@ class Board: self.white_recycled = [] - card = self.white_pick.pop() - - return card + return self.white_pick.pop() def play_card(self, player, card): self.played_cards.append((card, player)) |