X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fviews%2FGame.vue;h=d0e601cabac307c216a7e60020f2fac6cf4d41d5;hb=a6088c906bbe6fae95707dc7028e45023fe39981;hp=e9cf8d4b2c92ef927204b72a3e6ece1b91e6929b;hpb=a6bddfc684bd3cc4defd7d49cc15bf59f2d9a9e9;p=vchess.git
diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue
index e9cf8d4b..d0e601ca 100644
--- a/client/src/views/Game.vue
+++ b/client/src/views/Game.vue
@@ -1,4 +1,246 @@
+
+.row
+ .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
+ BaseGame(:variant="variant.name" @game-over=".....TODO")
+
+
+
+localStorage["score"] = score;
+
+
+ .button-group(v-if="mode!='analyze'")
+ button(@click="offerDraw") Draw
+ button(@click="abortGame") Abort
+ button(@click="resign") Resign
+ div(v-if="mode=='corr'")
+ textarea(v-show="score=='*' && vr.turn==mycolor" v-model="corrMsg")
+ div(v-show="cursor>=0") {{ moves[cursor].message }}
+
+
+