From c45ff4525c0e45e4b8e762b81fd180c53d206d66 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 8 Nov 2026 12:24:25 +0100 Subject: web: match the desktop layout and remove play-money copy The browser now uses the desktop's full-width game split: no extra game header or card frame, a full-height sidebar with a pinned action block, and the same lobby grid, topbar account/balance blocks, and bottom-left notices. Slots uses the desktop symbol colours and gold win border; roulette gets the flat felt, column bets under the dozens, the wheel, circular chips, and a LAST line; blackjack gets a centred dealer/player table and divider; crash gets the chart panel, phase label and empty ready state. Also drops every play-money/real-money disclaimer from the page copy. --- web/play/test/smoke.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/play/test/smoke.mjs') diff --git a/web/play/test/smoke.mjs b/web/play/test/smoke.mjs index c1274bc..962753b 100644 --- a/web/play/test/smoke.mjs +++ b/web/play/test/smoke.mjs @@ -207,8 +207,8 @@ socket.message({ }, }); assert(document.querySelector(".roulette-canvas"), "the roulette canvas renders"); -assert(document.querySelectorAll(".chip-btn").length === 5, "the chip selector renders"); -assert(document.querySelector(".wheel-result")?.textContent.includes("5"), "the result number renders"); +assert(document.querySelectorAll(".chip-btn").length === 4, "the chip selector renders"); +assert(document.querySelector(".board-foot")?.textContent.includes("5"), "the result number renders"); socket.message({ type: "view", @@ -259,7 +259,7 @@ socket.message({ assert(document.querySelector(".crash-canvas"), "the crash canvas renders"); assert(document.querySelector(".crash-number")?.textContent.includes("×"), "the crash multiplier renders"); assert(byId("game-side").textContent.includes("CASH OUT"), "crash exposes cash out while running"); -assert(byId("game-side").textContent.includes("commit"), "crash shows the round commitment"); +assert(document.querySelector(".crash-meta")?.textContent.includes("commit"), "crash shows the round commitment"); socket.message({ type: "view", -- cgit v1.2.3