From 3851786b90edc9e46b35050b0810b87772de6a83 Mon Sep 17 00:00:00 2001 From: JoshHeaps Date: Mon, 31 Aug 2026 15:26:32 -0600 Subject: [PATCH] Add dedicated-dealer mode and redesign the table's visuals Add a "Dedicated dealer (not a seat)" toggle for tables run by someone outside the game: it hides every seat's dealer button while blinds keep rotating automatically off the same internal position each hand. Also gave the table a real casino look, based on reference felt/rail and seat-pod patterns found via web search (huggingface.co/spaces/Estazz/ PokerGameDesigner, github.com/Tehes/poker): a richer radial felt gradient, a gold piping ring inside a wood-toned rail, a subtle center watermark, a pill-shaped chip-well pot badge, softer seat pucks with a pill-badge total and red/black suit coloring on cards, and casino-chip-styled dealer/blind badges (the dealer chip now dims to a faint disc on other seats and only lights up on hover, decluttering the ring of ten clickable buttons down to one visible button on the actual dealer). Verified via Playwright MCP: toggle hides/reveals dealer chips correctly, SB/BB still track it, no console errors. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_018CmAti1baCjidbJM2HeJfk --- JoshHeaps.Net/Pages/Casino/TexasHoldem.cshtml | 8 +- JoshHeaps.Net/wwwroot/css/casino/holdem.css | 178 ++++++++++++------ .../wwwroot/js/casino/holdem/main.js | 7 + .../wwwroot/js/casino/holdem/render.js | 27 ++- .../wwwroot/js/casino/holdem/state.js | 1 + 5 files changed, 165 insertions(+), 56 deletions(-) diff --git a/JoshHeaps.Net/Pages/Casino/TexasHoldem.cshtml b/JoshHeaps.Net/Pages/Casino/TexasHoldem.cshtml index d440d65..46cb7f5 100644 --- a/JoshHeaps.Net/Pages/Casino/TexasHoldem.cshtml +++ b/JoshHeaps.Net/Pages/Casino/TexasHoldem.cshtml @@ -23,6 +23,7 @@
+
Texas Hold'em
Pot $0 @@ -30,7 +31,7 @@
-

Drag a seat onto another seat to swap players. Click the dealer chip on a seat to make it the button.

+