diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-05-15 01:47:54 +0200 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-05-15 02:47:20 +0200 |
commit | 25c8dc5ad6faa9998d47b476c4f402482d80963c (patch) | |
tree | 8f6443b0e70725ac3a6d4e9ab1ff2d16a8aeb509 | |
parent | 6889ae7e0e98b1ca30ef081b452801862d4ef23d (diff) |
Simplify instructions
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-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)) |