X-Git-Url: https://git.auder.net/pieces/Checkered/cn.svg?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FGame.vue;h=0228616b84dcc8a4db97393ad5dadbbb4d5e3042;hb=ba82879c58ec7aeedfe8ce2675fd7c92280746bc;hp=000035c69d7c038b85d858ae769a523e4972cfa4;hpb=786e0065dcafc0f190aa0b541e635fbf5844ed2a;p=vchess.git
diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue
index 000035c6..0228616b 100644
--- a/client/src/views/Game.vue
+++ b/client/src/views/Game.vue
@@ -1,21 +1,24 @@
.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;
-
-
+ 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
@@ -26,11 +29,6 @@ pareil quand quelqu'un reco.