projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Smooth scrolling in moves, template to render moveList
[vchess.git]
/
client
/
src
/
components
/
ComputerGame.vue
diff --git
a/client/src/components/ComputerGame.vue
b/client/src/components/ComputerGame.vue
index
941016b
..
46b672b
100644
(file)
--- a/
client/src/components/ComputerGame.vue
+++ b/
client/src/components/ComputerGame.vue
@@
-123,8
+123,9
@@
export default {
this.playComputerMove();
}
},
this.playComputerMove();
}
},
- gameOver: function(score) {
+ gameOver: function(score
, scoreMsg
) {
this.game.score = score;
this.game.score = score;
+ this.game.scoreMsg = scoreMsg;
this.game.mode = "analyze";
this.$emit("game-over", score); //bubble up to Rules.vue
},
this.game.mode = "analyze";
this.$emit("game-over", score); //bubble up to Rules.vue
},