diff options
-rw-r--r-- | cao-desktop.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cao-desktop.js b/cao-desktop.js index 2517ef6..faa864b 100644 --- a/cao-desktop.js +++ b/cao-desktop.js @@ -80,5 +80,9 @@ $(document).ready(function() { $('#btn_pick_black').show(); }; + cao.on_updated_score = function(score) { + console.log('new score: ' + score); + }; + cao.run(); }); |