- .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- h4.variantpage-title.text-center(v-on:click="toggleDisplay('rules')")
- | #{variant} Rules
- my-rules(v-show="display=='rules'")
- .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- h4.variantpage-title.text-center(v-on:click="toggleDisplay('game')")
- | #{variant} Game
- my-game(v-show="display=='game'" v-bind:problem="problem")
- .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
- h4.variantpage-title.text-center(v-on:click="toggleDisplay('problems')")
- | #{variant} Problems
- my-problems(v-show="display=='problems'"
- v-on:show-problem="showProblem($event)")
+ my-room(v-show="display=='room'")
+ my-games-list(v-show="display=='gameList'")
+ my-rules(v-show="display=='rules'")
+ my-problems(v-show="display=='problems'")
+ // my-game: for room and games-list components
+ my-game(v-show="display=='game'" :gameId="gameid")