diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-06-04 03:07:31 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-06-04 03:07:31 +0100 |
commit | bc055cda47021daa7220820ed4825f83ab1cc0ee (patch) | |
tree | 975c8772d665d7277f2ccca5888f4aa09184eed4 /CAO_Game.py | |
parent | 987057dc0b8892e38cf39005f96c655ac76e19bf (diff) |
implement a way to view the black card
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'CAO_Game.py')
-rw-r--r-- | CAO_Game.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CAO_Game.py b/CAO_Game.py index ed446ee..54bbf48 100644 --- a/CAO_Game.py +++ b/CAO_Game.py @@ -149,3 +149,9 @@ class CAO_Game(): cards.append(self.white_desc[card]) return cao_success(cards) + + def try_view_black_card(self, player): + card = self.board.current_black_card + + if card is not None: + return cao_success(self.black_desc[card]) |