</template>
<script>
+
+// https://vchess.club/#/game/46
+// Bug 35eme coup blanc Rx(P)e2, d2 et aussi 18eme coup blanc Rd7, Pxe6
+// --> peut-être lié à prise, ou lié à getFen(), ou inMultimove pas changé car concatène à coup précédent...
+// TODO: also fix moves played on smartphone, annoying shift...
+// attention play undo pendant l'autoplay !!
+
import Board from "@/components/Board.vue";
import MoveList from "@/components/MoveList.vue";
import params from "@/parameters";
else this.lastMove.notation += "#";
}
}
- if (score != "*" && this.mode == "analyze") {
+ if (score != "*" && ["analyze", "versus"].includes(this.mode)) {
const message = getScoreMessage(score);
- // Just show score on screen (allow undo)
+ // Show score on screen
this.showEndgameMsg(score + " . " + this.st.tr[message]);
}
return score;