SyntaxSquad/DADProject#14 Added final touches to the gameplay

This commit is contained in:
2025-12-29 11:15:34 +00:00
committed by FernandoJVideira
parent ab231ee94f
commit 08c20acdf4
3 changed files with 41 additions and 53 deletions
@@ -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