Hand player update

This commit is contained in:
2024-04-20 00:36:27 +02:00
parent 638895f0bc
commit 571bcd14d3
5 changed files with 37 additions and 9 deletions
+17
View File
@@ -0,0 +1,17 @@
<script setup lang="ts">
const props = defineProps(['player'])
const gameObject = useState<{ [key: string]: any }>('gameObject')
</script>
<template>
<span>
hand =
<CardSlot :stack="gameObject[props.player]?.hand" />
<br>
stack =
<CardSlot :stack="gameObject[props.player]?.stack_pile" />
<br>
discard =
<CardSlot :stack="gameObject[props.player]?.discard_pile" />
</span>
</template>