Limitations and FAQ
What the kit does not do (yet)
Section titled “What the kit does not do (yet)”- Responses and a stack. Abilities resolve one after another, first triggered first. There
is no priority passing for an opponent to respond, as in some paper card games. The
IResolutionPolicyseam is where that would go. - Blocking. The built-in combat lets the attacker choose its target. A declare-blockers
combat can be written as your own
ICombatRules. - Planning opponents. The computer looks one move ahead; it does not plan combinations or anticipate replies.
- Matchmaking, lobbies, relays and reconnecting. Online play is direct host and join.
- Cheat-proof saves. The local save file is trusted.
- Crafting and selling cards. Duplicates simply stack. Add them in a
CollectionServicesubclass. - Art. The sample’s card art is generated placeholder art.
Text is missing or shows as pink boxes. Import TextMesh Pro Essentials: Tools > TCG Kit > Import TextMesh Pro Essentials.
The sample menu’s buttons do nothing in a build. Use Tools > TCG Kit > Add Sample Scenes To Build Settings. In the editor the sample finds its scenes without this.
There is no Play Online button. Install Netcode for GameObjects 2.x from the Package Manager.
A card’s ability never happens. Run the validator. The usual causes are a trigger listening in the wrong zone (card triggers listen only in the play zone of the card’s type unless you change Active Zone Id), nothing wired into an effect’s targets, or an id that does not exist in the game.
Starting a match throws RulesCompileException.
The game definition is incomplete. The exception lists every problem; so does the validator.
I changed a card and the shop or deck builder still shows the old version.
The collection screens cache the compiled rules for the session. Restart Play mode, or call
CollectionSettings.Recompile().
How do I make my own match screen? Start from the Starter game’s scene or the sample’s, or build one from the components in The Match Screen. Nothing in the rules depends on the screen.
Can the rules run on a server without Unity?
Yes. Runtime/Core has no reference to UnityEngine, so it compiles as an ordinary .NET library.
Compile your game definition to a Ruleset in Unity, or build the Ruleset in code.