From 9666676766bf21364f4fc4d0d1d336e72f2a91b4 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 6 Oct 2026 12:57:23 -0400 Subject: refactor: split casino.go, dedup helpers, remove audit docs --- internal/game/blackjack_rules.go | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'internal/game/blackjack_rules.go') diff --git a/internal/game/blackjack_rules.go b/internal/game/blackjack_rules.go index f163fb8..2a0712d 100644 --- a/internal/game/blackjack_rules.go +++ b/internal/game/blackjack_rules.go @@ -7,37 +7,6 @@ import ( "thehouseoficarus/internal/net" ) -// Tables are room fixtures in their own right, not authored scenery objects. -// Each game resolves through the shared details view; the felt games append -// their per-table rule card there. -func (g *Game) lookBlackjackTable(sess *net.Session, target string) bool { - return g.lookCasinoTable(sess, target, casino.GameBlackjack) -} - -func (g *Game) lookBaccaratTable(sess *net.Session, target string) bool { - return g.lookCasinoTable(sess, target, casino.GameBaccarat) -} - -func (g *Game) lookCrapsTable(sess *net.Session, target string) bool { - return g.lookCasinoTable(sess, target, casino.GameCraps) -} - -func (g *Game) lookBigSixTable(sess *net.Session, target string) bool { - return g.lookCasinoTable(sess, target, casino.GameBigSix) -} - -func (g *Game) lookRouletteTable(sess *net.Session, target string) bool { - return g.lookCasinoTable(sess, target, casino.GameRoulette) -} - -func (g *Game) lookPlinkoTable(sess *net.Session, target string) bool { - return g.lookCasinoTable(sess, target, casino.GamePlinko) -} - -func (g *Game) lookPaiGowTable(sess *net.Session, target string) bool { - return g.lookCasinoTable(sess, target, casino.GamePaiGow) -} - // A cabinet's published pay table is public; another player's cards are not. func (g *Game) lookVideoPokerCabinet(sess *net.Session, target string) bool { if g.Casino == nil || sess.Player == nil { -- cgit v1.2.3