Some more traces... (fix typo)
[vchess.git] / client / src / components / BaseGame.vue
index df2e8af..9878039 100644 (file)
@@ -490,12 +490,16 @@ export default {
         let self = this;
         const initurn = this.vr.turn;
         (function executeMove() {
+console.log("execute move " + move.length);
           const smove = move[moveIdx++];
           // NOTE: condition "smove.start.x >= 0" required for Dynamo,
           // because second move may be empty.
           if (animate && smove.start.x >= 0) {
             self.animateMove(smove, () => {
               playSubmove(smove);
+
+console.log(moveIdx + " " + move.length);
+
               if (moveIdx < move.length)
                 setTimeout(executeMove, 500);
               else afterMove(smove, initurn);