:incheck="incheck"
@play-move="play"
)
- #turnIndicator(v-if="game.vname=='Dark' && game.score=='*'")
- | {{ st.tr[vr.turn + " to move"] }}
+ #turnIndicator(v-if="game.vname=='Dark' && game.score=='*'") {{ turn }}
#controls
button(@click="gotoBegin()") <<
button(@click="undo()") <
showMoves: function() {
return this.game.vname != "Dark" || this.game.score != "*";
},
+ turn: function() {
+ return this.st.tr[(this.vr.turn == 'w' ? "White" : "Black") + " to move"];
+ },
analyze: function() {
return (
this.game.mode == "analyze" ||