aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/craps_projection_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-30 17:30:00 -0400
committerhistoria <[not public]>2026-09-30 17:30:00 -0400
commit39ad552cb5f48c288e1d7a62e80ceb180882eae0 (patch)
tree50ec7474012db8dd092ed996d592591ec9425d39 /internal/casino/craps_projection_test.go
parenta18bc0a38e3a90bcd91260d7abfef340f093a9bd (diff)
downloadthehouseoficarus-39ad552cb5f48c288e1d7a62e80ceb180882eae0.tar.gz
chore: remove dead casino code and fold duplicated menu/odds logic
Diffstat (limited to 'internal/casino/craps_projection_test.go')
-rw-r--r--internal/casino/craps_projection_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/casino/craps_projection_test.go b/internal/casino/craps_projection_test.go
index be48691..3745249 100644
--- a/internal/casino/craps_projection_test.go
+++ b/internal/casino/craps_projection_test.go
@@ -48,9 +48,7 @@ func (t *crapsTable) simulateNet(name string, a, b int) int {
wallets := map[string]*testWallet{}
for _, seat := range t.players.ordered() {
wallet := &testWallet{}
- for _, wager := range seat.Wallet.(*testWallet).open {
- wallet.open = append(wallet.open, wager)
- }
+ wallet.open = append(wallet.open, seat.Wallet.(*testWallet).open...)
wallets[seat.Name] = wallet
cp := &crapsPlayer{Participant: Participant{Name: seat.Name, Connected: true, HasBet: seat.HasBet, Wallet: wallet}}
for _, bet := range seat.bets {