Need to pass props from Game to ComputerGame to BaseGame to Board...
[vchess.git] / client / src / components / BaseGame.vue
index ceadcd3..c898b2f 100644 (file)
@@ -37,11 +37,11 @@ export default {
     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,
-      vr: null, //VariantRules object, describing the game state + rules
       endgameMessage: "",
       orientation: "w",
       score: "*", //'*' means 'unfinished'