Skip to main content

CardGameAi

6 tools in this family (folder Editor/Tools/CardGameAi/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
cardgame_create_card_definition_assetwritesCreate a .asset CardDefinition instance and populate it from a card JSON
cardgame_export_card_csvwritesExport a list of cards to a CSV file on disk for designer review. Columns:
cardgame_generate_codewritesLower a validated CardGameSpec to six .cs files in Assets/_Game/CardGame/:
cardgame_propose_from_promptread-onlyFree-text intent → JSON CardGameSpec. Buril prompts the configured LLM to emit a complete
cardgame_simulate_matchread-onlyRun N synthetic matches in pure C# to surface engine-balance issues. Each match plays
cardgame_validate_specread-onlyValidate a CardGameSpec JObject. Checks namespace, card subtypes, zone identifiers