تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

snake-rodeo

بواسطة okwme

DevOps & Cloud
404التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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. 1

    Resolves Trifle auth token from TRIFLE_AUTH_TOKEN env var or ~/.config/snake-rodeo/auth.json

  2. 2

    Runs node snake.mjs start --detach --strategy aggressive

  3. 3

    Daemon connects to the live game server via SSE and begins watching rounds

  4. 4

    Each round, the aggressive strategy selects a direction and team, counter-bidding when outbid

  5. 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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط