#movesList
MoveList(v-if="showMoves" :score="game.score" :message="game.scoreMsg"
:firstNum="firstMoveNumber" :moves="moves" :cursor="cursor"
#movesList
MoveList(v-if="showMoves" :score="game.score" :message="game.scoreMsg"
:firstNum="firstMoveNumber" :moves="moves" :cursor="cursor"
if (!!newMove) //if stop + launch new game, get undefined move
this.play(newMove, "receive");
},
},
computed: {
showMoves: function() {
if (!!newMove) //if stop + launch new game, get undefined move
this.play(newMove, "receive");
},
},
computed: {
showMoves: function() {
// Forbid playing outside analyze mode, except if move is received.
// Sufficient condition because Board already knows which turn it is.
if (!navigate && this.game.mode!="analyze" && !receive
// Forbid playing outside analyze mode, except if move is received.
// Sufficient condition because Board already knows which turn it is.
if (!navigate && this.game.mode!="analyze" && !receive
};
if (!!receive && this.game.vname != "Dark")
this.animateMove(move, doPlayMove);
};
if (!!receive && this.game.vname != "Dark")
this.animateMove(move, doPlayMove);