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 — любой кодинг-агент, которым пользуетесь.