Compare commits
6 Commits
30798ce723
...
0.14.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc93c971a9 | ||
| 9feb4a93b8 | |||
|
|
ee8523d51a | ||
| 70a44fd1ea | |||
| bb6355d9ed | |||
|
|
f0623dbfb2 |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -104,3 +104,15 @@
|
|||||||
|
|
||||||
* FRO-25 Create Game Info Component ([#19](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/issues/19)) ([06f27d6](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/commit/06f27d6813f625af25e734de3dcbcf07b10f3a1a))
|
* FRO-25 Create Game Info Component ([#19](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/issues/19)) ([06f27d6](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/commit/06f27d6813f625af25e734de3dcbcf07b10f3a1a))
|
||||||
## [0.0.0](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/compare/0.12.0...0.0.0) (2025-12-10)
|
## [0.0.0](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/compare/0.12.0...0.0.0) (2025-12-10)
|
||||||
|
## [0.0.0](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/compare/0.12.1...0.0.0) (2025-12-11)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **ui:** FRO-35 Animations ([#22](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/issues/22)) ([d73b4f3](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/commit/d73b4f396be89b4f8ce2a446afe47c604cfe8598))
|
||||||
|
## [0.0.0](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/compare/0.13.0...0.0.0) (2025-12-15)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **ui:** FRO-34 Lobby ([#21](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/issues/21)) ([bb6355d](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/commit/bb6355d9ed6745b4852a52040d880ee1dcc6d797))
|
||||||
|
* **ui:** FRO-5 Animation Card Played ([#23](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/issues/23)) ([70a44fd](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/commit/70a44fd1ea119d43f875e6cfac56fb25747d8913))
|
||||||
|
## [0.0.0](https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/compare/0.14.0...0.0.0) (2025-12-18)
|
||||||
|
|||||||
@@ -1,15 +1,30 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
||||||
import {useIngame} from "@/composables/useIngame.ts";
|
import {useIngame} from "@/composables/useIngame.ts";
|
||||||
import type {GameInfo} from "@/types/GameTypes.ts";
|
import type {GameInfo, TrumpInfo} from "@/types/GameTypes.ts";
|
||||||
import HandC from "@/components/ingame/HandC.vue";
|
import HandC from "@/components/ingame/HandC.vue";
|
||||||
import GameInfoC from "@/components/ingame/GameInfoC.vue";
|
import GameInfoC from "@/components/ingame/GameInfoC.vue";
|
||||||
import PlayedCardsC from "@/components/ingame/PlayedCardsC.vue";
|
import PlayedCardsC from "@/components/ingame/PlayedCardsC.vue";
|
||||||
import ScoreboardC from "@/components/ingame/ScoreboardC.vue";
|
import ScoreboardC from "@/components/ingame/ScoreboardC.vue";
|
||||||
import TurnC from "@/components/ingame/TurnC.vue";
|
import TurnC from "@/components/ingame/TurnC.vue";
|
||||||
|
import TrumpC from "@/components/ingame/TrumpC.vue";
|
||||||
|
import {storeToRefs} from "pinia";
|
||||||
|
import {ref, toRefs, watch} from "vue";
|
||||||
|
|
||||||
const ig = useIngame()
|
const ig = useIngame()
|
||||||
|
const { state } = toRefs(ig)
|
||||||
|
|
||||||
|
const cachedGameInfo = ref<GameInfo | null>(null)
|
||||||
|
|
||||||
|
watch(
|
||||||
|
() => ig.data,
|
||||||
|
(newData) => {
|
||||||
|
if (state.value === 'InGame' && newData) {
|
||||||
|
cachedGameInfo.value = newData as GameInfo
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ deep: true, immediate: true }
|
||||||
|
)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -17,34 +32,46 @@ const ig = useIngame()
|
|||||||
<q-page-container>
|
<q-page-container>
|
||||||
<q-page class="game-field-background vh-100 ingame-side-shadow">
|
<q-page class="game-field-background vh-100 ingame-side-shadow">
|
||||||
<div class="py-5 container-xxl">
|
<div class="py-5 container-xxl">
|
||||||
|
<transition
|
||||||
|
appear
|
||||||
|
enter-active-class="animate__animated animate__fadeInDown"
|
||||||
|
leave-active-class="animate__animated animate__fadeOutDown"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
v-if="state === 'SelectTrump'"
|
||||||
|
class="full-overlay-blur"
|
||||||
|
style="z-index: 2000;"
|
||||||
|
>
|
||||||
|
<TrumpC />
|
||||||
|
</div>
|
||||||
|
</transition>
|
||||||
<div class="fit row wrap justify-center items-center content-start">
|
<div class="fit row wrap justify-center items-center content-start">
|
||||||
<div class="mt-5 ml-4 self-start col-2">
|
<div class="mt-5 ml-4 self-start col-2">
|
||||||
<TurnC v-if="(ig.data as GameInfo)?.playerQueue" :queue="(ig.data as GameInfo).playerQueue!"/>
|
<TurnC v-if="(cachedGameInfo as GameInfo)?.playerQueue" :queue="(cachedGameInfo as GameInfo).playerQueue!"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-center col-6">
|
<div class="text-center col-6">
|
||||||
<ScoreboardC v-if="(ig.data as GameInfo)?.currentRound" :current-round="(ig.data as GameInfo).currentRound!" />
|
<ScoreboardC v-if="(cachedGameInfo as GameInfo)?.currentRound" :current-round="(cachedGameInfo as GameInfo).currentRound!" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="mt-5 ml-4 self-end col-2" style="margin-left: 6em">
|
<div class="mt-5 ml-4 self-end col-2" style="margin-left: 6em">
|
||||||
<GameInfoC v-if="(ig.data as GameInfo)?.currentRound"
|
<GameInfoC v-if="(cachedGameInfo as GameInfo)?.currentRound"
|
||||||
:first-card="(ig.data as GameInfo).currentTrick?.firstCard ?? null"
|
:first-card="(cachedGameInfo as GameInfo).currentTrick?.firstCard ?? null"
|
||||||
:trumpsuit="(ig.data as GameInfo).currentRound!.trumpSuit"/>
|
:trumpsuit="(cachedGameInfo as GameInfo).currentRound!.trumpSuit"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="fit row wrap justify-center items-center content-start">
|
<div class="fit row wrap justify-center items-center content-start">
|
||||||
<div class="mt-4 ml-4 col-3 justify-content-center">
|
<div class="mt-4 ml-4 col-3 justify-content-center">
|
||||||
<div class="d-flex justify-content-center g-3 mb-5">
|
<div class="d-flex justify-content-center g-3 mb-5">
|
||||||
<PlayedCardsC v-if="(ig.data as GameInfo)?.currentTrick" :trick="(ig.data as GameInfo).currentTrick!" />
|
<PlayedCardsC v-if="(cachedGameInfo as GameInfo)?.currentTrick" :trick="(cachedGameInfo as GameInfo).currentTrick!" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="q-gutter-sm mt-4 bottom-div justify-content-center row" style="backdrop-filter: blur(4px); margin-left: 0; margin-right: 0;">
|
<div class="q-gutter-sm mt-4 bottom-div justify-content-center row" style="backdrop-filter: blur(4px); margin-left: 0; margin-right: 0;">
|
||||||
<div class="flex justify-center col-12">
|
<div class="flex justify-center col-12">
|
||||||
<HandC v-if="(ig.data as GameInfo)?.hand && (ig.data as GameInfo)?.self"/>
|
<HandC v-if="(cachedGameInfo as GameInfo)?.hand && (cachedGameInfo as GameInfo)?.self"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -77,4 +104,17 @@ const ig = useIngame()
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
.full-overlay-blur {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
backdrop-filter: blur(5px);
|
||||||
|
background-color: rgba(0, 0, 0, 0.2);
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -25,8 +25,7 @@ function triggerWiggle(index: number) {
|
|||||||
function handlePlayCard(index: number | null) {
|
function handlePlayCard(index: number | null) {
|
||||||
if (index === null) return
|
if (index === null) return
|
||||||
|
|
||||||
wb.sendAndWait("PlayCard", { cardindex: index })
|
wb.sendAndWait("PlayCard", { cardindex: index }).catch((error) => {
|
||||||
.catch((error) => {
|
|
||||||
triggerWiggle(index)
|
triggerWiggle(index)
|
||||||
|
|
||||||
$q.notify({
|
$q.notify({
|
||||||
@@ -37,7 +36,14 @@ function handlePlayCard(index: number | null) {
|
|||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
function onBeforeLeave(el: Element) {
|
||||||
|
const element = el as HTMLElement;
|
||||||
|
const { marginLeft, marginTop, width, height } = window.getComputedStyle(element);
|
||||||
|
element.style.left = `${element.offsetLeft - parseFloat(marginLeft)}px`;
|
||||||
|
element.style.top = `${element.offsetTop - parseFloat(marginTop)}px`;
|
||||||
|
element.style.width = width;
|
||||||
|
element.style.height = height;
|
||||||
|
}
|
||||||
function handleSkipDogLife() {
|
function handleSkipDogLife() {
|
||||||
//TODO: Add some animation or feedback for skipping turn
|
//TODO: Add some animation or feedback for skipping turn
|
||||||
}
|
}
|
||||||
@@ -52,13 +58,19 @@ function getCardImagePath(cardPath: string) {
|
|||||||
<template>
|
<template>
|
||||||
<div class="hand-container">
|
<div class="hand-container">
|
||||||
<div id="card-slide" class="ingame-cards-slide">
|
<div id="card-slide" class="ingame-cards-slide">
|
||||||
<div class="cards-row">
|
<transition-group
|
||||||
|
tag="div"
|
||||||
|
class="cards-row"
|
||||||
|
name="card-move"
|
||||||
|
enter-active-class="animate__animated animate__fadeIn"
|
||||||
|
@before-leave="onBeforeLeave"
|
||||||
|
move-class="card-moving">
|
||||||
<div v-for="card in (<GameInfo>wi.data)?.hand?.cards" :key="card.identifier" :class="['handcard', { wiggle: wiggleIdx === card.idx }]">
|
<div v-for="card in (<GameInfo>wi.data)?.hand?.cards" :key="card.identifier" :class="['handcard', { wiggle: wiggleIdx === card.idx }]">
|
||||||
<div class="card-btn" aria-label="Play card">
|
<div class="card-btn" aria-label="Play card">
|
||||||
<q-img :src="getCardImagePath(card.path)" v-on:click="handlePlayCard(card.idx)" :alt="card.identifier" class="card" />
|
<q-img :src="getCardImagePath(card.path)" v-on:click="handlePlayCard(card.idx)" :alt="card.identifier" class="card" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</transition-group>
|
||||||
<div v-if="(<GameInfo>wi.data)?.self?.dogLife" class="dog-actions">
|
<div v-if="(<GameInfo>wi.data)?.self?.dogLife" class="dog-actions">
|
||||||
<q-btn color="negative" label="Skip Turn" @click="handleSkipDogLife" />
|
<q-btn color="negative" label="Skip Turn" @click="handleSkipDogLife" />
|
||||||
</div>
|
</div>
|
||||||
@@ -136,4 +148,18 @@ function getCardImagePath(cardPath: string) {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.card-moving {
|
||||||
|
transition: transform 0.5s ease;
|
||||||
|
transition-delay: 1s;
|
||||||
|
}
|
||||||
|
.card-move-leave-active {
|
||||||
|
position: absolute;
|
||||||
|
transition: all 0.5s ease;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-move-leave-to {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(-400px);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
134
src/components/ingame/TrumpC.vue
Normal file
134
src/components/ingame/TrumpC.vue
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
<script setup lang="ts" >
|
||||||
|
import {useWebSocket} from "@/composables/useWebsocket.ts";
|
||||||
|
import {useIngame} from "@/composables/useIngame.ts";
|
||||||
|
import type {GameInfo, TrumpInfo} from "@/types/GameTypes.ts";
|
||||||
|
import {useQuasar} from "quasar";
|
||||||
|
import { ref } from 'vue';
|
||||||
|
|
||||||
|
const wb = useWebSocket()
|
||||||
|
const wi = useIngame()
|
||||||
|
const trumpInf = wi.data as TrumpInfo
|
||||||
|
const trumpSuits = [
|
||||||
|
"/images/cards/AS.png",
|
||||||
|
"/images/cards/AH.png",
|
||||||
|
"/images/cards/AD.png",
|
||||||
|
"/images/cards/AC.png"
|
||||||
|
]
|
||||||
|
const $q = useQuasar();
|
||||||
|
function getCardImagePath(cardPath: string) {
|
||||||
|
if (!cardPath) return ''
|
||||||
|
if (cardPath.includes('://') || cardPath.startsWith('/')) return cardPath
|
||||||
|
return `/${cardPath}`
|
||||||
|
}
|
||||||
|
function selectTrump(trumpSuitIndex: number) {
|
||||||
|
wb.sendAndWait("PickTrumpsuit", { suitIndex: trumpSuitIndex }).then(
|
||||||
|
$q.notify({
|
||||||
|
message: "You've successfully picked your trumpsuit",
|
||||||
|
color: "positive",
|
||||||
|
position: "top"
|
||||||
|
})
|
||||||
|
|
||||||
|
).catch((error) => {
|
||||||
|
$q.notify({
|
||||||
|
message: error.message,
|
||||||
|
color: "negative",
|
||||||
|
position: "top"
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<template>
|
||||||
|
<q-card v-if="trumpInf.chooser?.name === trumpInf.self?.name" class="player-profile-card" flat bordered>
|
||||||
|
<q-card-section class="bg-white text-dark text-center q-py-lg">
|
||||||
|
<div class="text-h3 text-weight-bolder">
|
||||||
|
{{ trumpInf.self?.name || "Loading Player..."}}
|
||||||
|
</div>
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
|
<q-card-section class="bg-light-green-7 text-dark text-center q-py-lg">
|
||||||
|
<div class="text-h4 text-weight-bolder">
|
||||||
|
<q-icon name="emoji_events" class="q-mr-sm" />
|
||||||
|
You won the last round!
|
||||||
|
<q-icon name="emoji_events" class="q-mr-sm" />
|
||||||
|
</div>
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
|
<q-card-section class="q-py-md text-center bg-dark">
|
||||||
|
<div class="text-h6 q-mb-sm">Select a trumpsuit</div>
|
||||||
|
<div class="row justify-center q-gutter-sm">
|
||||||
|
<q-card v-for="(path, index) in trumpSuits" :key="index" class="q-pa-xs cursor-pointer trump-card-choice">
|
||||||
|
<q-img
|
||||||
|
:src="getCardImagePath(path)"
|
||||||
|
@click="selectTrump(index)"
|
||||||
|
:alt="path"
|
||||||
|
class="card"
|
||||||
|
/>
|
||||||
|
</q-card>
|
||||||
|
</div>
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
|
<q-separator color="grey-7" style="opacity: 0.9;" />
|
||||||
|
|
||||||
|
<q-card-section class="q-pa-md text-center bg-dark">
|
||||||
|
<div class="text-h6 q-mb-sm">Your Hand ({{ trumpInf.selfHand?.cards.length || 0 }} Cards)</div>
|
||||||
|
<div class="row wrap justify-center q-gutter-sm">
|
||||||
|
|
||||||
|
<div v-for="card in trumpInf.selfHand?.cards || []" :key="card.idx!" >
|
||||||
|
<q-img
|
||||||
|
:src="getCardImagePath(card.path)"
|
||||||
|
:alt="card.identifier"
|
||||||
|
class="card"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</q-card-section>
|
||||||
|
</q-card>
|
||||||
|
<q-card
|
||||||
|
v-else
|
||||||
|
class="player-profile-card text-center"
|
||||||
|
flat
|
||||||
|
bordered
|
||||||
|
style="min-height: 200px; display: flex; flex-direction: column; justify-content: center;"
|
||||||
|
>
|
||||||
|
<q-card-section class="q-pa-lg">
|
||||||
|
<q-spinner-hourglass color="black" size="3em" class="q-mb-md" />
|
||||||
|
<div class="text-h5 text-grey-8">
|
||||||
|
Waiting for {{ trumpInf.chooser?.name || 'the other player' }} to select the trump suit...
|
||||||
|
</div>
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
|
<q-separator />
|
||||||
|
<q-card-section class="q-pa-md text-center bg-dark">
|
||||||
|
<div class="text-h6 text-white q-mb-sm">Your Hand ({{ trumpInf.selfHand?.cards.length || 0 }} Cards)</div>
|
||||||
|
<div class="row wrap justify-center q-gutter-sm">
|
||||||
|
|
||||||
|
<div v-for="card in trumpInf.selfHand?.cards || []" :key="card.idx!" >
|
||||||
|
<q-img
|
||||||
|
:src="getCardImagePath(card.path)"
|
||||||
|
:alt="card.identifier"
|
||||||
|
class="card"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
|
</q-card>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.card {
|
||||||
|
width:120px;
|
||||||
|
border-radius:6px
|
||||||
|
}
|
||||||
|
.player-profile-card {
|
||||||
|
max-width: 1000px;
|
||||||
|
}
|
||||||
|
.trump-card-choice {
|
||||||
|
transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
|
||||||
|
}
|
||||||
|
.trump-card-choice:hover {
|
||||||
|
transform: translateY(-8px);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -5,8 +5,8 @@ import {useIngame} from "@/composables/useIngame.ts";
|
|||||||
import type {GameInfo} from "@/types/GameTypes.ts";
|
import type {GameInfo} from "@/types/GameTypes.ts";
|
||||||
|
|
||||||
const ig = useIngame()
|
const ig = useIngame()
|
||||||
const currentPlayer = computed(() => (<GameInfo>ig.data).playerQueue.currentPlayer)
|
const currentPlayer = computed(() => (<GameInfo>ig.data).playerQueue?.currentPlayer)
|
||||||
const queue = computed(() => { return (<GameInfo>ig.data).playerQueue.queue ?? []})
|
const queue = computed(() => { return (<GameInfo>ig.data).playerQueue?.queue ?? []})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ ui.requestState().then(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="lobby-background">
|
<div class="lobby-background">
|
||||||
<Ingame v-if="state === 'InGame'"/>
|
<Ingame v-if="state === 'InGame' || state === 'SelectTrump'"/>
|
||||||
<lobby-component v-if="state === 'Lobby'"/>
|
<lobby-component v-if="state === 'Lobby'"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
53
src/views/LobbyView.vue
Normal file
53
src/views/LobbyView.vue
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import {computed, ref} from 'vue';
|
||||||
|
import LobbyComponent from '../components/lobby/LobbyComponent.vue';
|
||||||
|
import type {LobbyInfo} from "@/types/GameTypes.ts";
|
||||||
|
import type {User} from "@/types/GameSubTypes.ts";
|
||||||
|
import {useIngame} from "@/composables/useIngame.ts";
|
||||||
|
import {sendEvent} from "@/services/ws.ts";
|
||||||
|
|
||||||
|
const ig = useIngame()
|
||||||
|
|
||||||
|
const lobbyInfo = computed<LobbyInfo | null>(() => {
|
||||||
|
if (ig.state === 'Lobby' && ig.data) {
|
||||||
|
return ig.data as LobbyInfo;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
});
|
||||||
|
|
||||||
|
const handleKickPlayer = (user: User) => {
|
||||||
|
sendEvent("KickEvent", {
|
||||||
|
user: user
|
||||||
|
})
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleStartGame = () => {
|
||||||
|
//TODO: Implement start game
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleLeaveGame = (user: User) => {
|
||||||
|
sendEvent("LeftEvent",{
|
||||||
|
user: user
|
||||||
|
})
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<q-layout>
|
||||||
|
<q-page-container>
|
||||||
|
<q-page class="vh-100 column">
|
||||||
|
<lobby-component
|
||||||
|
v-if="lobbyInfo"
|
||||||
|
:lobbyInfo="lobbyInfo"
|
||||||
|
@kick-player="handleKickPlayer"
|
||||||
|
@start-game="handleStartGame"
|
||||||
|
@leave-game="handleLeaveGame"
|
||||||
|
/>
|
||||||
|
</q-page>
|
||||||
|
</q-page-container>
|
||||||
|
</q-layout>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
MAJOR=0
|
MAJOR=0
|
||||||
MINOR=12
|
MINOR=14
|
||||||
PATCH=1
|
PATCH=1
|
||||||
|
|||||||
Reference in New Issue
Block a user