snake-rodeo
由 okwme 提供
DevOps & Cloud简介
Autoplay daemon for the Trifle Snake Rodeo game.
描述
该技能的功能
A persistent daemon that automates voting in the Trifle Snake Rodeo multiplayer game. It connects to the game server via SSE, authenticates with a wallet, and submits directional bids each round using one of five built-in strategies or a custom one. An offline tournament simulator is included for developing and comparing strategies without spending real balance.
The offline tournament simulator lets you benchmark strategies against each other with a fixed RNG seed before risking real ball balance in live games.
何时使用
- Running automated game voting overnight without manual input
- Comparing strategy win rates across hundreds of reproducible simulated games
- Building a custom bidding strategy using the BaseStrategy API
- Monitoring live game state and ball balance from the command line
- Receiving game event notifications in a Telegram group
示例工作流
User asks: Start the autoplay daemon using the aggressive strategy
- 1
Resolves Trifle auth token from TRIFLE_AUTH_TOKEN env var or ~/.config/snake-rodeo/auth.json
- 2
Runs
node snake.mjs start --detach --strategy aggressive - 3
Daemon connects to the live game server via SSE and begins watching rounds
- 4
Each round, the aggressive strategy selects a direction and team, counter-bidding when outbid
- 5
Daemon submits the vote via SnakeClient.submitVote and writes the result to daemon.log
Daemon running in background, automatically placing aggressive bids each round until stopped with `node snake.mjs stop`
前置要求
- Trifle account authenticated via the trifle-auth skill, or TRIFLE_AUTH_TOKEN environment variable
- TELEGRAM_BOT_TOKEN environment variable and a Telegram bot (only required for game event logging)
安装
clawhub install okwme/snake-rodeo运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。