X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBaseGame.vue;h=ea07a6dcdada778e0c2b2cea54b0a9a4fa480337;hp=1240bcb283aeb98bf8c174be078d7ce3b13c7341;hb=f51c37cf24a7d695cdd51a3b0298a8ff64c3963a;hpb=dfeb96ea90e880a2557cbb5953dbb7258c912283 diff --git a/client/src/components/BaseGame.vue b/client/src/components/BaseGame.vue index 1240bcb2..ea07a6dc 100644 --- a/client/src/components/BaseGame.vue +++ b/client/src/components/BaseGame.vue @@ -17,7 +17,7 @@ div#baseGame(tabindex=-1 @click="() => focusBg()" #boardContainer Board(:vr="vr" :last-move="lastMove" :analyze="analyze" :user-color="game.mycolor" :orientation="orientation" - :vname="game.vname" @play-move="play") + :vname="game.vname" :incheck="incheck" @play-move="play") #turnIndicator(v-if="game.vname=='Dark' && game.score=='*'") | {{ turn }} #controls @@ -71,6 +71,7 @@ export default { cursor: -1, //index of the move just played lastMove: null, firstMoveNumber: 0, //for printing + incheck: [], //for Board }; }, watch: {