Skip to main content
ANY
SkillFreeBy GameSkill · tuned

Card Game

/card-game

Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.

License
Apache-2.0
By
By GameSkill
Download ZIP

Part of

Awesome Gamedev Agent Skills

77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.

Tested by GameSkill

30/30 checks passed on Godot 4.7.2 (2026-10-30): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.

Test report

What this skill does

When it triggers

Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution. Use for a deckbuilder, TCG/CCG, or roguelike deckbuilder.

GameSkill's tested copy

GameSkill's tuned build of this skill: the skill files from commit 19d93f97c9c1, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.

Download tested ZIP (44 KB)Roadmap: Gameplay mechanics

License: based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills, under Apache-2.0. The ZIP keeps the license files (LICENSE, NOTICE) and lists everything GameSkill added in CHANGES.md.

Card Game

Self-check

  • 卡牌效果写成数据,不写成每张卡一段代码 / Card effects are data, not one code path per card
  • 每张卡同一时间只在一个区域,移动就是从这里删、往那里加 / A card lives in exactly one zone; moving is remove-here, add-there
  • 牌库空时把弃牌堆洗回再抽 / An empty deck reshuffles the discard pile before drawing
  • 洗牌用自己的种子随机数,存档时一起存 / Shuffles use the run's own seeded RNG, saved with the run
  • 费用不够的牌不能打出,效果按固定顺序结算 / Unaffordable cards cannot be played; effects resolve in a fixed order

Install

Tell your AI

Install the skill from https://gameskill.dev/skills/card-game/install.md

GameSkill's tested copy

Tested copy into .claude/skills/
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/card-game.zip -o /tmp/gameskill-card-game.zip
unzip -oq /tmp/gameskill-card-game.zip -d .claude/skills
rm /tmp/gameskill-card-game.zip

What you get

  • Worked steps: Zones + draw with automatic reshuffle; Card as data + effect resolution; Turn structure as a phase machine
  • A pitfalls section with the mistakes to avoid
  • Bundled 1 reference doc the agent reads when needed

Good fit

  • A deckbuilder, TCG/CCG, or roguelike deckbuilder

Try this prompt

Prompt
Build a roguelike deckbuilder: deck, hand and discard piles, energy costs and card effects.

About this skill

Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution. Use for a deckbuilder, TCG/CCG, or roguelike deckbuilder.

From the card-game SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.

What's inside

  • Core loop
  • Must-have systems
  • Design knobs
  • Zones + draw with automatic reshuffle
  • Card as data + effect resolution
  • Turn structure as a phase machine
  • Composition (build it from these skills)

FAQ

MATCHED PRO KIT$8.25/mo

Gacha Kit

Single and ten-pull animations: SSR cards charge up and burst in gold, then fly to the centre as holo cards that tilt with the mouse or phone gyro. Rarity timelines, skip, and Chinese and English text built in.

  • SSR/UR charge-up and gold burst
  • Holo foil that follows the mouse or gyro

Based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills (Apache-2.0). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.

More from Awesome Gamedev Agent Skills

See all 48

Similar skills