From a5b9c1052c4640ba519e608e0c97e603ce6aa5ef Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 30 Sep 2026 18:57:30 -0400 Subject: feat: blackjack and baccarat rules felt added, casino layout simplified --- internal/casino/types.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'internal/casino/types.go') diff --git a/internal/casino/types.go b/internal/casino/types.go index 62a8f34..ecded85 100644 --- a/internal/casino/types.go +++ b/internal/casino/types.go @@ -323,6 +323,14 @@ type BlackjackSnapshot struct { func (*BlackjackSnapshot) snapshot() {} +// BlackjackRulesView ships a table's configuration so the presentation layer +// can draw the house-rule felt instead of a raw rules dump. +type BlackjackRulesView struct { + Config TableConfig +} + +func (*BlackjackRulesView) snapshot() {} + // BaccaratBetView lists one participant's wager on a baccarat outcome. type BaccaratBetView struct { Name string @@ -340,6 +348,14 @@ type BaccaratSnapshot struct { func (*BaccaratSnapshot) snapshot() {} +// BaccaratRulesView ships a table's configuration so the presentation layer +// can draw the house-rule felt instead of a raw rules dump. +type BaccaratRulesView struct { + Config TableConfig +} + +func (*BaccaratRulesView) snapshot() {} + type Participant struct { Name string Connected bool -- cgit v1.2.3