X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=2f55cfa4e7f09c33b83c4833eeb44e32d638baff;hb=f7121527579a543e01449e752d630ecf2452ec80;hp=f467b3b7f1bf4891a693d29ebec54bdfe8c7465e;hpb=4ce15fd970356162aebc8f2774c71e7d99183609;p=vchess.git
diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue
index f467b3b7..2f55cfa4 100644
--- a/client/src/views/Game.vue
+++ b/client/src/views/Game.vue
@@ -1,10 +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 }}
+
+
+