X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=2ef43c36f6afb8a423b316710f64e0a470b7fde1;hb=6dd02928259482332d639bb71d2c44ff684fcfb5;hp=f467b3b7f1bf4891a693d29ebec54bdfe8c7465e;hpb=4ce15fd970356162aebc8f2774c71e7d99183609;p=vchess.git
diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue
index f467b3b7..2ef43c36 100644
--- a/client/src/views/Game.vue
+++ b/client/src/views/Game.vue
@@ -1,10 +1,260 @@
+
+.row
+ .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
+ BaseGame(:game="game" :vr="vr" ref="basegame" @newmove="processMove")
+ .button-group(v-if="game.mode!='analyze'")
+ button(@click="offerDraw") Draw
+ button(@click="abortGame") Abort
+ button(@click="resign") Resign
+ div(v-if="game.mode=='corr'")
+ textarea(v-show="score=='*' && vr.turn==mycolor" v-model="corrMsg")
+ div(v-show="cursor>=0") {{ moves[cursor].message }}
+
+
+