Smooth scrolling in moves, template to render moveList
[vchess.git] / client / src / components / ComputerGame.vue
index 941016b..46b672b 100644 (file)
@@ -123,8 +123,9 @@ export default {
         this.playComputerMove();
       }
     },
-    gameOver: function(score) {
+    gameOver: function(score, scoreMsg) {
       this.game.score = score;
+      this.game.scoreMsg = scoreMsg;
       this.game.mode = "analyze";
       this.$emit("game-over", score); //bubble up to Rules.vue
     },