X-Git-Url: https://git.auder.net/pieces/Checkered/cp.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=b10be754516a711a2fe2482ff179ce2d010ea6af;hb=9330b976e02148bb89e11819070d5d818e82e522;hp=5eeb7fd5a6b472b38abd87fd7e42ff7ba2bc64a7;hpb=2cc10cdbc230f82202bdddb7a244c903c05ab351;p=vchess.git
diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue
index 5eeb7fd5..b10be754 100644
--- a/client/src/views/Game.vue
+++ b/client/src/views/Game.vue
@@ -11,15 +11,13 @@
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 Names: {{ game.players[0].name }} - {{ game.players[1].name }}
div Time: {{ virtualClocks[0] }} - {{ virtualClocks[1] }}
.button-group(v-if="game.mode!='analyze' && game.score=='*'")
button(@click="offerDraw") Draw
button(@click="() => abortGame()") Abort
button(@click="resign") Resign
- div(v-if="game.mode=='corr'")
- textarea(v-show="score=='*' && vr.turn==game.mycolor" v-model="corrMsg")
- div(v-show="cursor>=0") {{ moves[cursor].message }}
+ textarea(v-if="game.score=='*'" v-model="corrMsg")
+
+