summaryrefslogtreecommitdiff
path: root/swiftstory/Game.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2020-05-15 01:59:10 +0200
committerOlivier Gayot <olivier.gayot@sigexec.com>2020-05-15 03:13:01 +0200
commite560cb629851cd27191756a62e5aca43150d3bdf (patch)
tree86611a8e429ffb413850fd3132be49ca881b51db /swiftstory/Game.py
parent25c8dc5ad6faa9998d47b476c4f402482d80963c (diff)
Rework the recycling of the cards
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'swiftstory/Game.py')
-rw-r--r--swiftstory/Game.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/swiftstory/Game.py b/swiftstory/Game.py
index e80b7b2..9dd19c4 100644
--- a/swiftstory/Game.py
+++ b/swiftstory/Game.py
@@ -69,7 +69,7 @@ class Game:
return error('Someone is judge already')
self.judge = player
- self.board.reveal_black_card()
+ self.board.reveal_next_black_card()
self.state = self.WAITING_COLLECTION
@@ -163,7 +163,6 @@ class Game:
})
p.has_played = False
- self.board.recycle_black_card()
self.judge = None
for p in self.players:
@@ -208,7 +207,6 @@ class Game:
player.client = None
if self.judge is player:
- self.board.recycle_black_card()
self.judge = None
for p in self.players: