Advance on components/game.js
[vchess.git] / views / variant.pug
index 16dd447..c7f4e55 100644 (file)
@@ -30,10 +30,11 @@ block content
                        //my-game-list(v-show="display=='gameList'")
                        //my-rules(v-show="display=='rules'")
                        //my-problems(v-show="display=='problems'")
-                       //my-game(v-show="display=='game'" :gameId="gameid")
-                       my-board(:vr="vr" :mode="mode" :orientation="orientation"
-                               :user-color="userColor" :game-over="gameOver"
-                               v-on:play-move="play")
+                       my-game(v-show="display=='game'" :game-id="gameid" :conn="conn"
+                               :allow-chat="allowChat" :allow-movelist="allowMovelist"
+                               :mode="mode" :fen="fen")
+                       //my-board(:vr="vr" :mode="mode" :orientation="orientation"
+                               :user-color="userColor" v-on:play-move="play")
 
 block javascripts
        script(src="/javascripts/utils/array.js")
@@ -51,5 +52,5 @@ block javascripts
        script(src="/javascripts/components/board.js")
        //script(src="/javascripts/components/problemPreview.js")
        //script(src="/javascripts/components/problems.js")
-       //script(src="/javascripts/components/game.js")
+       script(src="/javascripts/components/game.js")
        script(src="/javascripts/variant.js")