div#baseGame
input#modalEog.modal(type="checkbox")
div#eogDiv(
role="dialog"
data-checkbox="modalEog"
)
.card.text-center
label.modal-close(for="modalEog")
h3.section {{ endgameMessage }}
#gameContainer
#boardContainer
Board(
:vr="vr"
:last-move="lastMove"
:analyze="game.mode=='analyze'"
:score="game.score"
:user-color="game.mycolor"
:orientation="orientation"
:vname="game.vname"
:incheck="incheck"
@play-move="play"
)
#turnIndicator(v-if="showTurn") {{ turn }}
#controls
button(@click="gotoBegin()") <<
button(@click="undo()") <
button(v-if="canFlip" @click="flip()") ⇅
button(@click="play()") >
button(@click="gotoEnd()") >>
#belowControls
#downloadDiv(v-if="allowDownloadPGN")
a#download(href="#")
button(@click="download()") {{ st.tr["Download"] }} PGN
button(
v-if="canAnalyze"
@click="analyzePosition()"
)
| {{ st.tr["Analyse"] }}
// NOTE: variants pages already have a "Rules" link on top
button(
v-if="!$route.path.match('/variants/')"
@click="showRules()"
)
| {{ st.tr["Rules"] }}
#movesList
MoveList(
v-if="showMoves != 'none'"
:show="showMoves"
:score="game.score"
:message="game.scoreMsg"
:firstNum="firstMoveNumber"
:moves="moves"
:cursor="cursor"
@goto-move="gotoMove"
)
.clearer