summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CAO_Player.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/CAO_Player.py b/CAO_Player.py
index 91e6351..d08a0a1 100644
--- a/CAO_Player.py
+++ b/CAO_Player.py
@@ -24,6 +24,10 @@ class CAO_Player():
def inc_score(self):
self.score += 1
+ self.send_notification({
+ 'op': 'updated_score',
+ 'content': self.score,
+ })
def receive_card(self, card):
self.cards[self.next_idx] = card