summaryrefslogtreecommitdiff
path: root/CAO_Board.py
diff options
context:
space:
mode:
Diffstat (limited to 'CAO_Board.py')
-rw-r--r--CAO_Board.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/CAO_Board.py b/CAO_Board.py
index 925b1ee..0fd595b 100644
--- a/CAO_Board.py
+++ b/CAO_Board.py
@@ -46,6 +46,9 @@ class CAO_Board():
def play_card(self, player, card):
self.played_cards.append((card, player))
+ def shuffle_played_cards(self):
+ random.shuffle(self.played_cards)
+
def recycle_played_cards(self):
self.white_recycled += [i[0] for i in self.played_cards]