From 6c914b1421030897d47449087dd1694068e84436 Mon Sep 17 00:00:00 2001 From: lq64 Date: Tue, 13 Jan 2026 14:33:35 +0100 Subject: [PATCH] feat(ui): Tie selection (#26) Added a minimal ui for the tie selection. Tie selection gets sent to the server via websocket and gets response from it. Co-authored-by: LQ63 Reviewed-on: https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist-Frontend/pulls/26 --- src/components/Ingame.vue | 17 ++++++ src/components/ingame/TieC.vue | 98 ++++++++++++++++++++++++++++++++++ src/views/Game.vue | 2 +- 3 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 src/components/ingame/TieC.vue diff --git a/src/components/Ingame.vue b/src/components/Ingame.vue index 72fbdcc..93db660 100644 --- a/src/components/Ingame.vue +++ b/src/components/Ingame.vue @@ -10,6 +10,7 @@ import TurnC from "@/components/ingame/TurnC.vue"; import TrumpC from "@/components/ingame/TrumpC.vue"; import {storeToRefs} from "pinia"; import {ref, toRefs, watch} from "vue"; +import TieC from "@/components/ingame/TieC.vue"; const ig = useIngame() const { state } = toRefs(ig) @@ -45,6 +46,22 @@ watch( + + + +
+ +
+
+
diff --git a/src/components/ingame/TieC.vue b/src/components/ingame/TieC.vue new file mode 100644 index 0000000..873c33e --- /dev/null +++ b/src/components/ingame/TieC.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/src/views/Game.vue b/src/views/Game.vue index 757562f..663301d 100644 --- a/src/views/Game.vue +++ b/src/views/Game.vue @@ -33,7 +33,7 @@ ui.requestState().then(() => {