X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=views%2Fvariant.pug;fp=views%2Fvariant.pug;h=16dd447a8e21efe4a446693cae9240f0369398a4;hb=baba60703f661aab20f2327098c3a0af572f0704;hp=15c546d0bb4efd7998960c627b277f4c492c391b;hpb=fd08ab2c5b8931bb8c95cf7e9f2f95122647f991;p=vchess.git diff --git a/views/variant.pug b/views/variant.pug index 15c546d0..16dd447a 100644 --- a/views/variant.pug +++ b/views/variant.pug @@ -28,9 +28,12 @@ block content .row //my-room(v-show="display=='room'") //my-game-list(v-show="display=='gameList'") - my-rules(v-show="display=='rules'") - my-problems(v-show="display=='problems'") + //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") block javascripts script(src="/javascripts/utils/array.js") @@ -44,8 +47,9 @@ block javascripts const variant = !{JSON.stringify(variant)}; //script(src="/javascripts/components/room.js") //script(src="/javascripts/components/gameList.js") - script(src="/javascripts/components/rules.js") - script(src="/javascripts/components/problemPreview.js") - script(src="/javascripts/components/problems.js") + //script(src="/javascripts/components/rules.js") + 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/variant.js")