main
input#modalChat.modal(type="checkbox" @change="toggleChat")
div(role="dialog" aria-labelledby="inputChat")
#chat.card
label.modal-close(for="modalChat")
Chat(:players="game.players" :pastChats="game.chats"
@newchat-sent="finishSendChat" @newchat-received="processChat")
.row
.col-sm-12.col-md-9.col-md-offset-3.col-lg-10.col-lg-offset-2
#actions(v-if="game.mode!='analyze' && game.score=='*'")
button(@click="offerDraw") Draw
button(@click="abortGame") Abort
button(@click="resign") Resign
button#chatBtn(onClick="doClick('modalChat')") Chat
div Names: {{ game.players[0].name }} - {{ game.players[1].name }}
div(v-if="game.score=='*'") Time: {{ virtualClocks[0] }} - {{ virtualClocks[1] }}
BaseGame(:game="game" :vr="vr" ref="basegame"
@newmove="processMove" @gameover="gameOver")