feat: create ReadySet, Playground, Highscroes components
This commit is contained in:
parent
f62b8db662
commit
250a056fe3
9
client/src/components/Highscores.vue
Normal file
9
client/src/components/Highscores.vue
Normal file
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<p>Highscores.vue</p>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
9
client/src/components/Playground.vue
Normal file
9
client/src/components/Playground.vue
Normal file
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<p>Playground.vue</p>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
10
client/src/components/ReadySet.vue
Normal file
10
client/src/components/ReadySet.vue
Normal file
@ -0,0 +1,10 @@
|
||||
<template>
|
||||
<p>ReadySet.vue</p>
|
||||
<p>{{ text }}</p>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
text: string,
|
||||
}>()
|
||||
</script>
|
@ -9,9 +9,9 @@
|
||||
<div class="page-play__playfield-content">
|
||||
<Lobby v-if="game.state === 'idle'" />
|
||||
<CollectQuotes v-if="game.state === 'collect'" />
|
||||
<!-- <ReadySet v-if="game.state === 'ready-set'" :text="game.phase" /> -->
|
||||
<!-- <Play v-if="game.state === 'play'" /> -->
|
||||
<!-- <Final v-if="game.state === 'final'" /> -->
|
||||
<ReadySet v-if="game.state === 'ready-set'" :text="game.phase" />
|
||||
<Playground v-if="game.state === 'play'" />
|
||||
<Highscores v-if="game.state === 'final'" />
|
||||
</div>
|
||||
<EngineDebug v-if="showEngineDebug" class="page-play__playfield-debug" />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user