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'
<template lang="pug">
.row
.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- BaseGame(:variant="variant.name" :analyze="analyze" : players="players")
+ BaseGame(:variant="variant.name" :analyze="analyze" :players="players")
</template>
<script>
lockCompThink: false, //to avoid some ghost moves
fenStart: "",
compWorker: null,
-
-//TODO: players ? Computed?
-
+ players: ["Myself","Computer"], //always playing white for now
};
},
computed: {