aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/casino/types.go')
-rw-r--r--internal/casino/types.go16
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