SyntaxSquad/DADProject#14 Added final touches to the gameplay
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="relative flex items-center justify-center w-64 h-48">
|
||||
<div
|
||||
v-if="trumpCard"
|
||||
class="absolute rotate-90 origin-center transition-all duration-700"
|
||||
:class="[trumpReveal && 'scale-110']"
|
||||
>
|
||||
@@ -68,7 +69,7 @@ import GameCard from './GameCard.vue'
|
||||
const props = defineProps({
|
||||
trumpCard: {
|
||||
type: Object,
|
||||
required: true,
|
||||
default: null,
|
||||
},
|
||||
cardsRemaining: {
|
||||
type: Number,
|
||||
|
||||
Reference in New Issue
Block a user