summaryrefslogtreecommitdiff
path: root/CAO_Client.py
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-06-04 03:07:31 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-06-04 03:07:31 +0100
commitbc055cda47021daa7220820ed4825f83ab1cc0ee (patch)
tree975c8772d665d7277f2ccca5888f4aa09184eed4 /CAO_Client.py
parent987057dc0b8892e38cf39005f96c655ac76e19bf (diff)
implement a way to view the black card
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'CAO_Client.py')
-rw-r--r--CAO_Client.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/CAO_Client.py b/CAO_Client.py
index 3132e57..67ce54f 100644
--- a/CAO_Client.py
+++ b/CAO_Client.py
@@ -47,3 +47,8 @@ class CAO_Client():
if self.game is None:
return cao_error('You have to join a game first')
return self.game.try_view_played_cards(self.player)
+
+ def view_black_card(self):
+ if self.game is None:
+ return cao_error('You have to join a game first')
+ return self.game.try_view_black_card(self.player)