X-Git-Url: https://git.auder.net/js/rpsls.js?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=bd9125f26939a463c1dfc9c8e29220ee5aba75fd;hb=d18bfa126e918ecc13f2a70612b1cfda25e1e25a;hp=ab6ae7a8b735b07c4475300e23b854f0509a3a56;hpb=967a2686ea801d4b33129d78087651451ef1904b;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index ab6ae7a8..bd9125f2 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 }} + + + +