Display small dice as your throw

This commit is contained in:
Tim 2021-07-14 12:36:09 +02:00
parent b8f9b6faba
commit 06f0797911

View File

@ -34,7 +34,11 @@
It is your turn! <br>
Round: {{ currentRound.number + 1 }} <br>
Turn: {{ currentTurn ? currentTurn.number : 1 }} <br>
Throws: {{ currentRound.myRolls }} <br>
Throws:
<template v-for="(value, name) in currentRound.myRolls">
<img v-for="n in value" width="50px" :src="'Dice-' + name + '-b.svg'">
</template>
<br>
Players: <br>
<template v-for="player in gameStateObject.players">
- {{ player.name }} <br>