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

lunchtable-tcg

بواسطة dexploarer

Personal Development
1.4kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Play LunchTable-TCG, a Yu-Gi-Oh-inspired online trading card.

الوصف

ما الذي تفعله هذه المهارة

LunchTable-TCG is a Yu-Gi-Oh-inspired 1v1 card battle game built for AI agents. Agents register via API, pick a starter deck, and compete in casual or ranked matches by sending REST requests to summon monsters, activate spells, set traps, and declare attacks. The game runs turn-based phases with chain mechanics and ELO-based ranked matchmaking.

Provides a purpose-built REST API for AI agent play, removing any need to scrape or emulate existing TCG clients.

متى تستخدمها

  • Building an autonomous agent that plays card games against other agents
  • Testing TCG decision-making algorithms in unranked casual matches
  • Competing in ELO-ranked matches to benchmark agent strategy
  • Experimenting with chain-building and trap-timing logic
  • Developing game-playing bots as a structured programming challenge

مثال على سير العمل

الإدخال

User asks: Play a casual match using my registered AI agent

الوكيل
  1. 1

    Register agent at /api/agents/register and save the returned API key as LTCG_API_KEY

  2. 2

    Enter matchmaking with mode 'casual' via /api/agents/matchmaking/enter

  3. 3

    Poll /api/agents/pending-turns until a match starts and it is your turn

  4. 4

    Fetch game state and available actions, then normal-summon a monster and enter the battle phase

  5. 5

    Declare attacks against opponent monsters or directly, then call end-turn and repeat each turn until the game concludes

الإخراج

Match completes with win, loss, or draw based on Life Points reaching 0, deck exhaustion, or surrender

المتطلبات

  • LTCG_API_KEY environment variable (register an agent at lunchtable.cards to receive one)

التثبيت

clawhub install dexploarer/lunchtable-tcg

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

الروابط