From e1e3a716a4527fb2e7a802d8d0243e2832a5f207 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Tue, 16 Jun 2026 08:18:37 +0330 Subject: [PATCH] ui(game): minimal, smaller scoreboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Compact the in-game scoreboard to a single small pill: team label + score with trick count inline in parens (e.g. "0 (3)"), a thin dot separator, and a tiny target number — dropping the tall 3-line columns and large fonts. Frees more HUD room and reads at a glance. Co-Authored-By: Claude Opus 4.8 --- src/components/GameTable.tsx | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/src/components/GameTable.tsx b/src/components/GameTable.tsx index 7b88baf..846df64 100644 --- a/src/components/GameTable.tsx +++ b/src/components/GameTable.tsx @@ -237,24 +237,13 @@ function Scoreboard() { const game = useGameStore((s) => s.game); const { t } = useI18n(); return ( -
- -
/
- -
-
{t("home.target")}
-
{game.targetScore}
-
+
+ + · + + + {game.targetScore} +
); } @@ -270,13 +259,12 @@ function ScoreCol({ score: number; accent: string; }) { - const { t } = useI18n(); return ( -
-
{label}
-
{score}
-
- {t("score.tricks")}: {tricks} +
+
{label}
+
+ {score} + ({tricks})
);