summaryrefslogtreecommitdiff
path: root/CAO_Game.py
diff options
context:
space:
mode:
Diffstat (limited to 'CAO_Game.py')
-rw-r--r--CAO_Game.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/CAO_Game.py b/CAO_Game.py
index fda7707..3738277 100644
--- a/CAO_Game.py
+++ b/CAO_Game.py
@@ -44,7 +44,7 @@ class CAO_Game():
self.players.append(player)
- return cao_success(None)
+ return self.try_view_player_cards(player)
def try_become_judge(self, player):
@@ -57,7 +57,7 @@ class CAO_Game():
self.state = self.WAITING_COLLECTION
- return cao_success(None)
+ return self.try_view_black_card(player)
def try_play_card(self, player, card_id):
@@ -78,7 +78,7 @@ class CAO_Game():
self.board.play_card(player, card)
- return cao_success(None)
+ return cao_success({'card_id': card_id})
def try_collect_cards(self, player):