this.re_setVariables();
},
// Received a new move to play:
+ // TODO: error "flush nextTick callbacks" when observer reloads page
"game.moveToPlay": function(newMove) {
if (!!newMove) //if stop + launch new game, get undefined move
this.play(newMove, "receive");
const L = this.moves.length;
this.cursor = L-1;
this.lastMove = (L > 0 ? this.moves[L-1] : null);
+ this.incheck = [];
},
analyzePosition: function() {
const newUrl = "/analyze/" + this.game.vname +