aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_verbs.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-05 06:03:49 -0400
committerhistoria <[not public]>2026-10-05 06:03:49 -0400
commitc84a9944356f590d90d819d652bdf1349ebacd40 (patch)
treeaf1ee15992e141fb3eb6f26cac02cf06306d4982 /internal/game/cmd_verbs.go
parent8b78aa4cd930fde145959704ba7bdc0e57465b9b (diff)
downloadthehouseoficarus-c84a9944356f590d90d819d652bdf1349ebacd40.tar.gz
feat: prediction exchange with live polymarket data
Diffstat (limited to 'internal/game/cmd_verbs.go')
-rw-r--r--internal/game/cmd_verbs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/game/cmd_verbs.go b/internal/game/cmd_verbs.go
index 5cbbd5f..87e8ee0 100644
--- a/internal/game/cmd_verbs.go
+++ b/internal/game/cmd_verbs.go
@@ -191,6 +191,10 @@ func (g *Game) collectRoomCommands(sess *net.Session) roomCommandSections {
func (g *Game) executeVerbs(sess *net.Session, args []string, rawInput string) {
p := sess.Player
+ if sess.PredictionActive && g.atPredictionCounter(p) {
+ g.showCasinoHints(sess, g.predictionCommands(sess))
+ return
+ }
// A seated casino player has no room verbs: the only valid commands are
// the game's live hints, so what/verbs shows those instead of exits and
// objects that cannot be used mid-hand.