diff options
| author | historia <[not public]> | 2026-09-30 18:57:30 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-30 18:57:30 -0400 |
| commit | a5b9c1052c4640ba519e608e0c97e603ce6aa5ef (patch) | |
| tree | c48ac64ca8d1ec2505eedd18fb9e2fc39a885689 /internal/casino/types.go | |
| parent | 2317022c16b520dd5272facfd5092a4c58cac44b (diff) | |
| download | thehouseoficarus-a5b9c1052c4640ba519e608e0c97e603ce6aa5ef.tar.gz | |
feat: blackjack and baccarat rules felt added, casino layout simplified
Diffstat (limited to 'internal/casino/types.go')
| -rw-r--r-- | internal/casino/types.go | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
