SyntaxSquad/DADProject#14 Added final touches to the gameplay
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
<template>
|
||||
<div class="relative min-h-screen overflow-hidden">
|
||||
<div v-if="store.trumpCard">
|
||||
|
||||
<div v-if="store.isGameRunning">
|
||||
<GameBoard
|
||||
:trump-card="store.trumpCard"
|
||||
:cards-remaining="store.deck.length"
|
||||
:cards-remaining="store.deck.length + (store.trumpCard ? 1 : 0)"
|
||||
:player-hand="store.playerHand"
|
||||
:opponent-hand="store.opponentHand"
|
||||
:player-score="store.playerScore"
|
||||
@@ -15,7 +16,7 @@
|
||||
</div>
|
||||
|
||||
<div v-else class="flex h-screen items-center justify-center bg-green-900 text-white">
|
||||
<div class="animate-pulse text-xl">A preparar baralho...</div>
|
||||
<div class="animate-pulse text-xl">A preparar jogo...</div>
|
||||
</div>
|
||||
|
||||
<GameOver
|
||||
|
||||
Reference in New Issue
Block a user