diff options
| author | historia <[not public]> | 2026-10-03 19:46:54 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-03 19:46:54 -0400 |
| commit | 3a39a020e4449bc4d6f728ef837cffb9f7bd0c56 (patch) | |
| tree | 9ba1cd5f2aef6ef7c54fdf5b02a780604b5af80b /internal/game/look_casino.go | |
| parent | c6d4702c0be4d2b37e1d82ff96265c52847c3f9a (diff) | |
| download | thehouseoficarus-3a39a020e4449bc4d6f728ef837cffb9f7bd0c56.tar.gz | |
feat: new casino game: plinko
Diffstat (limited to 'internal/game/look_casino.go')
| -rw-r--r-- | internal/game/look_casino.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/game/look_casino.go b/internal/game/look_casino.go index ec9ab61..df6a714 100644 --- a/internal/game/look_casino.go +++ b/internal/game/look_casino.go @@ -83,7 +83,7 @@ func (g *Game) renderCasinoTableDetails(sess *net.Session, cfg casino.TableConfi fmt.Sprintf(" Seated %s", seated), } switch cfg.Game { - case casino.GameRoulette, casino.GameBigSix: + case casino.GameRoulette, casino.GameBigSix, casino.GamePlinko: // Look, like sitting down and the table command, shows the live // wheel: tracker, racetrack, and betting layout. if rendered := strings.TrimRight(g.renderCasinoSnapshot(sess, table.Board(sess.Player.Name)), "\n"); rendered != "" { @@ -103,6 +103,8 @@ func (g *Game) renderCasinoTableDetails(sess *net.Session, cfg casino.TableConfi // look details block. The full wording lives in the rules help page. func casinoTableSummary(cfg casino.TableConfig) string { switch cfg.Game { + case casino.GamePlinko: + return fmt.Sprintf("16 rows; four risks; 1-10 balls; %.4g%% base RTP + upward rounding", cfg.Plinko.Normalize().RTP) case casino.GameBlackjack: b := cfg.Blackjack.Normalize() dealer := "dealer stands on soft 17" |
