show game over button for controls

This commit is contained in:
Branden J Brown 2024-02-03 14:19:54 -06:00
parent 8c38174dad
commit a8ca8c0d33
1 changed files with 8 additions and 2 deletions

View File

@ -18,7 +18,13 @@
<Player :stats="props.game.players[1]" :dealer="false" :disabled="props.dealer || !myTurn" @item="(evt: number) => useItem(evt)" />
</v-col>
</v-row>
<v-row v-if="myTurn && !gameOver" class="py-4">
<v-row v-if="gameOver" class="py-4">
<v-col cols="3"></v-col>
<v-col cols="6">
<v-btn block disabled>THE GAME IS OVER</v-btn>
</v-col>
</v-row>
<v-row v-else-if="myTurn" class="py-4">
<v-col cols="1"></v-col>
<v-col cols="5">
<v-btn block @click="attack(true)">SHOOT {{ dealerTarget }}</v-btn>
@ -27,7 +33,7 @@
<v-btn block @click="attack(false)">SHOOT {{ challTarget }}</v-btn>
</v-col>
</v-row>
<v-row v-else-if="!gameOver" class="py-4">
<v-row v-else class="py-4">
<v-col cols="3"></v-col>
<v-col cols="6">
<v-btn block disabled>THE {{ currentTurn }} IS CONSIDERING</v-btn>