7 th(v-if="showResult") Result
9 tr(v-for="g in games" @click="$emit('show-game',g)")
12 span(v-for="p in g.players") {{ p.name }}
13 td {{ g.mainTime }} + {{ g.increment }}
14 td(v-if="showResult") {{ g.score }}
15 td(v-else) {{ g.movesCount }}
23 showResult: function() {
24 return this.games.length > 0 && this.games[0].score != "*";