godot-genre-card-game
Installation
SKILL.md
Genre: Card Game
Expert blueprint for digital card games with data-driven design and juicy UI.
NEVER Do (Expert Anti-Patterns)
Logic & Architecture
- NEVER hardcode card logic inside UI scripts; strictly encapsulate gameplay effects in
Callableobjects or Command resources pushed to a LIFO stack. - NEVER perform board-state calculations (Power/Toughness) in
_process(); strictly use Signal-driven triggers or a centralizedEffectStackresolver. - NEVER forget LIFO Stack Resolution; strictly use
Array.push_back()andArray.pop_back()to resolve reactions from top-to-bottom.
UX & Animation
- NEVER skip Z-Index management during drag-and-drop; strictly raise the card to the front on click to prevent it sliding under other cards.
- NEVER allow instant card "teleportation" between piles; strictly use Tween animations (0.2s+) to give cards a tactile, physical feel.
- NEVER use
global_positionfor cards in hand; strictly position them using aCurve2D(Bezier) layout withsample_baked()for smooth, non-circular arcs. - NEVER allow instant card "teleportation" between piles; strictly use
create_tween()andtween_propertychainings (0.2s+) for juicy card-feel.