Add adventure plugin, holdem CFR fixes, and wordle plugin

Adventure: Complete v1 daily idle RPG with DM-driven gameplay, equipment
shop, treasure system, TwinBee NPC, streak/grudge/party mechanics,
flavor text, and scheduled morning/evening/midnight tickers.

Holdem CFR: Fix three critical training bugs (fold not forfeiting pot,
free calls after raises, training/runtime key mismatch). Add performance
optimizations (preflop lookup table, zero-alloc equity, integer keys,
raise cap, regret pruning). Enrich abstraction with 12 equity buckets,
board texture dimension, and 6-char action history. Replace validation
with proper multi-street simulation.

Also includes wordle plugin, holdem seed tooling, and schema additions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
prosolis
2026-03-22 10:09:57 -07:00
parent e9890fd880
commit c7c1b76589
35 changed files with 12388 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ FEATURE_ESTEEMED= # set to anything to enable satirical esteemed member posts
ESTEEMED_ROOM= # room ID for esteemed member posts (separate from broadcast rooms)
# ---- Games & Economy ----
GAMES_ROOM= # room ID where game commands work (trivia, hangman, blackjack, flip)
GAMES_ROOM= # room ID where game commands work (trivia, hangman, blackjack, holdem, wordle, flip)
EURO_COOLDOWN_SECONDS=30 # cooldown between passive euro earning
EURO_DEBT_REMINDER=true # weekly DM reminder if in debt
EURO_STARTING_CAP=2500 # max starting balance from corpus
@@ -59,6 +59,19 @@ UNO_MULTI_LOBBY_TIMEOUT=300 # lobby expiry in seconds (default 300 = 5min)
UNO_MULTI_TURN_TIMEOUT=30 # auto-play timeout in seconds (default 30)
UNO_MULTI_MAX_AUTOPLAY=3 # consecutive auto-plays before forfeit
# Texas Hold'em
HOLDEM_SMALL_BLIND=10 # small blind amount
HOLDEM_BIG_BLIND=20 # big blind amount
HOLDEM_MIN_BUYIN=200 # minimum balance to join
HOLDEM_MAX_BUYIN=2000 # maximum stack at buy-in
HOLDEM_TIMEOUT_SECONDS=90 # action timeout per turn
HOLDEM_NPC_NAME=TwinBee # NPC bot display name
HOLDEM_NPC_HOUSE_BALANCE=10000 # NPC starting bankroll
HOLDEM_CFR_POLICY=data/policy.gob # path to CFR policy file
# Wordle
WORDLE_DEFAULT_LENGTH=5 # default word length (5, 6, or 7)
# ---- Space Groups (automatic room grouping for community-wide leaderboards) ----
SPACE_GROUP_THRESHOLD=50 # % of smaller room's members that must overlap (1-100, default 50)