X-Git-Url: https://git.auder.net/assets/icon_infos.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=2f55cfa4e7f09c33b83c4833eeb44e32d638baff;hb=4486a21e09c50f65da5d4c3648430cea1b19a0cc;hp=e9cf8d4b2c92ef927204b72a3e6ece1b91e6929b;hpb=a6bddfc684bd3cc4defd7d49cc15bf59f2d9a9e9;p=vchess.git
diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue
index e9cf8d4b..2f55cfa4 100644
--- a/client/src/views/Game.vue
+++ b/client/src/views/Game.vue
@@ -1,4 +1,264 @@
+
+.row
+ .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
+ BaseGame(:vname="variant.name" :analyze="analyze"
+ :vr="vr" :fen-start="fenStart" :players="players" :mycolor="mycolor"
+ ref="basegame" @newmove="processMove")
+ .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 }}
+
+
+