X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=2f33bc58ac8dd13aea767bd6335a5cce1d52868e;hb=3837d4f7885a3c3cdb468da2f3fa3fa1e5a1415a;hp=e9cf8d4b2c92ef927204b72a3e6ece1b91e6929b;hpb=a6bddfc684bd3cc4defd7d49cc15bf59f2d9a9e9;p=vchess.git
diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue
index e9cf8d4b..2f33bc58 100644
--- a/client/src/views/Game.vue
+++ b/client/src/views/Game.vue
@@ -1,4 +1,557 @@
-
+
+main
+ .row
+ #chat.col-sm-12.col-md-4.col-md-offset-4
+ Chat(:players="game.players" :pastChats="game.chats"
+ @newchat="processChat")
+ .row
+ .col-sm-12
+ #actions(v-if="game.mode!='analyze' && game.score=='*'")
+ button(@click="offerDraw") Draw
+ button(@click="abortGame") Abort
+ button(@click="resign") Resign
+ div Names: {{ game.players[0].name }} - {{ game.players[1].name }}
+ div(v-if="game.score=='*'") Time: {{ virtualClocks[0] }} - {{ virtualClocks[1] }}
+ BaseGame(:game="game" :vr="vr" ref="basegame"
+ @newmove="processMove" @gameover="gameOver")
+
+
+
+
+