projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Need to pass props from Game to ComputerGame to BaseGame to Board...
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
ceadcd3
..
c898b2f
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-37,11
+37,11
@@
export default {
Board,
//MoveList,
},
Board,
//MoveList,
},
- props: ["variant","analyze","players"],
+ // "vr": VariantRules object, describing the game state + rules
+ props: ["vr","variant","analyze","players"],
data: function() {
return {
st: store.state,
data: function() {
return {
st: store.state,
- vr: null, //VariantRules object, describing the game state + rules
endgameMessage: "",
orientation: "w",
score: "*", //'*' means 'unfinished'
endgameMessage: "",
orientation: "w",
score: "*", //'*' means 'unfinished'