From 39898ed03b02b69f4a2fe43c00c3193b0bfc8469 Mon Sep 17 00:00:00 2001 From: lq64 Date: Thu, 11 Dec 2025 00:15:50 +0100 Subject: [PATCH] feat/FRO-31: Added ingame (#20) Force push of Janis ingame changes Co-authored-by: Janis Reviewed-on: https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/pulls/20 --- src/components/Ingame.vue | 62 +++++++++++++++++++ .../ingame/{GameInfo.vue => GameInfoC.vue} | 0 src/components/ingame/{Hand.vue => HandC.vue} | 39 +++++++++--- .../{PlayedCards.vue => PlayedCardsC.vue} | 0 .../{Scoreboard.vue => ScoreboardC.vue} | 0 src/components/ingame/{Turn.vue => TurnC.vue} | 0 src/composables/useIngame.ts | 29 +++++++++ src/composables/useUserInfo.ts | 23 ++++++- src/composables/useWebsocket.ts | 6 ++ src/services/ws.ts | 30 ++++++++- src/views/Game.vue | 33 ++++++++++ 11 files changed, 209 insertions(+), 13 deletions(-) create mode 100644 src/components/Ingame.vue rename src/components/ingame/{GameInfo.vue => GameInfoC.vue} (100%) rename src/components/ingame/{Hand.vue => HandC.vue} (69%) rename src/components/ingame/{PlayedCards.vue => PlayedCardsC.vue} (100%) rename src/components/ingame/{Scoreboard.vue => ScoreboardC.vue} (100%) rename src/components/ingame/{Turn.vue => TurnC.vue} (100%) create mode 100644 src/composables/useIngame.ts create mode 100644 src/views/Game.vue diff --git a/src/components/Ingame.vue b/src/components/Ingame.vue new file mode 100644 index 0000000..5b139b2 --- /dev/null +++ b/src/components/Ingame.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/src/components/ingame/GameInfo.vue b/src/components/ingame/GameInfoC.vue similarity index 100% rename from src/components/ingame/GameInfo.vue rename to src/components/ingame/GameInfoC.vue diff --git a/src/components/ingame/Hand.vue b/src/components/ingame/HandC.vue similarity index 69% rename from src/components/ingame/Hand.vue rename to src/components/ingame/HandC.vue index d2f4cea..1d13ce0 100644 --- a/src/components/ingame/Hand.vue +++ b/src/components/ingame/HandC.vue @@ -1,6 +1,9 @@ + + + +