X-Git-Url: https://git.auder.net/img/rock_paper_scissors_lizard_spock.gif?a=blobdiff_plain;f=views%2Fvariant.pug;h=c7f4e55f399d7a550a3e9621f941b9dac79c6937;hb=d44df0b01732d1948525daef5df62211ea6e1f64;hp=16dd447a8e21efe4a446693cae9240f0369398a4;hpb=baba60703f661aab20f2327098c3a0af572f0704;p=vchess.git diff --git a/views/variant.pug b/views/variant.pug index 16dd447a..c7f4e55f 100644 --- a/views/variant.pug +++ b/views/variant.pug @@ -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")