X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=f00dc92b298efc8ab91e3c958daf7a3260e28b38;hb=dce792f64ab0a311d348a6eb05c440dd1b170bd3;hp=ab6ae7a8b735b07c4475300e23b854f0509a3a56;hpb=967a2686ea801d4b33129d78087651451ef1904b;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index ab6ae7a8..f00dc92b 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -11,6 +11,8 @@ button(@click="abortGame") {{ st.tr["Game is too boring"] }} BaseGame(:game="game" :vr="vr" ref="basegame" @newmove="processMove" @gameover="gameOver") + // TODO: also show players names + div Time: {{ virtualClocks[0] }} - {{ virtualClocks[1] }} .button-group(v-if="game.mode!='analyze' && game.score=='*'") button(@click="offerDraw") Draw button(@click="() => abortGame()") Abort @@ -20,12 +22,30 @@ div(v-show="cursor>=0") {{ moves[cursor].message }} + + + +