snake-rodeo
bởi okwme
DevOps & CloudTóm tắt
Autoplay daemon for the Trifle Snake Rodeo game.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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`
Yêu cầu
- 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)
Cài đặt
clawhub install okwme/snake-rodeoChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.