div#baseGame(tabindex=-1 @click="() => focusBg()"
@keydown="handleKeys" @wheel="handleScroll")
input#modalEog.modal(type="checkbox")
div(role="dialog" data-checkbox="modalEog" aria-labelledby="eogMessage")
.card.smallpad.small-modal.text-center
label.modal-close(for="modalEog")
h3#eogMessage.section {{ endgameMessage }}
#gameContainer
#boardContainer
Board(:vr="vr" :last-move="lastMove" :analyze="game.mode=='analyze'"
:user-color="game.mycolor" :orientation="orientation"
:vname="game.vname" @play-move="play")
#turnIndicator(v-if="game.vname=='Dark' && game.mode!='analyze'")
| {{ turn }}
#controls
button(@click="gotoBegin") <<
button(@click="() => undo()") <
button(@click="flip") ⇅
button(@click="() => play()") >
button(@click="gotoEnd") >>
#pgnDiv
a#download(href="#")
button(@click="download") {{ st.tr["Download PGN"] }}
button(v-if="game.vname!='Dark' && game.mode!='analyze'"
@click="analyzePosition")
| {{ st.tr["Analyze"] }}
button(@click="showRules") {{ st.tr["Rules"] }}
#movesList
MoveList(v-if="showMoves" :score="game.score" :message="game.scoreMsg"
:firstNum="firstMoveNumber" :moves="moves" :cursor="cursor"
@goto-move="gotoMove")
.clearer