div
table.game-list(v-if="games.length > 0")
thead
tr
th {{ st.tr["Variant"] }}
th {{ st.tr[showBoth ? "Players" : "Versus"] }}
th(v-if="showCadence") {{ st.tr["Cadence"] }}
th {{ st.tr["Result"] }}
tbody
tr(
v-for="g in sortedGames"
@click="$emit('show-game',g)"
:class="{'my-turn': g.myTurn}"
)
td {{ g.vname }}
td {{ player_s(g) }}
td(v-if="showCadence") {{ g.cadence }}
td(
:class="scoreClass(g)"
@click="deleteGame(g,$event)"
)
| {{ g.score }}
p(v-else)
| {{ st.tr["No games found :( Send a challenge!"] }}