Platform Framing
Turn-based and card games are first-class on Crafty. Use:CraftyGamefor match lifecycle,CraftyPlayerfor connected player identity + synced state,set_syncedfor turn/board/hand summaries.
Minimal Player Setup
Authoritative Turn State
Store canonical game state on server:Turn Progression
Action Validation Pattern
Every turn action should be server-validated:What To Sync
Sync only what clients need for rendering:turn_activeroundhand_count- public board/stack data
- timers or action windows
Optional Platform Modules
Crafty.data: persistent deck/profile/MMR.Crafty.economy: card packs, tournament entry, rewards.Crafty.score: ranked points or win tally.
Production Checklist (Turn-Based/Card)
- All turn actions validated server-side.
- Synced state is minimal and intentional.
- Hidden game information not leaked to all clients.
- Join/leave logic preserves turn order safely.
- Reconnect flow restores synced state correctly.

