← Back to the simulator
Advanced targets

Building nested targets

A target is the condition each simulated game is scored against — checked against every card drawn by your chosen Target turn. The advanced builder lets you combine conditions with AND / OR and nest them to any depth, so you can express exactly the hand you're hoping to open.

The building blocks

Card term

“Draw at least N copies of a specific card.” Pick the card and a count (default 1). A count higher than the number in the deck can never be met.

Resource cost term

“Draw at least N cards that cost a given amount.” Useful for curve questions like “do I have enough cheap plays?”

Group — AND / OR

A group holds other terms (or more groups). AND is met only when every child is met; OR is met when at least one child is. Groups nest, which is where the power comes from. The AND/OR switch appears once a group holds two or more terms — with a single child there's nothing to combine, so it just behaves as that child.

Using the builder

Examples

Card ids below are from the bundled sample deck; swap in your own. Every example is “met” when the condition holds among the cards drawn by the target turn.

01 One specific card

{ "card": "ASH_103" }
In plain EnglishDraw at least one Long Live the Empire (ASH_103).

02 Multiple copies of a card

{ "card": "JTL_081", "count": 2 }
In plain EnglishDraw at least two copies of First Order TIE Fighter (JTL_081).

03 Two cards, both required and

{ "and": [
    { "card": "JTL_081" },
    { "card": "ASH_103" }
] }
In plain EnglishDraw both First Order TIE Fighter and Long Live the Empire.

04 Either card or

{ "or": [
    { "card": "ASH_095" },
    { "card": "SEC_185" }
] }
In plain EnglishDraw Remnant Interceptor or Screeching TIE Fighter — either one (or both) counts.

05 A number of cards at a cost

{ "cost": 2, "count": 3 }
In plain EnglishDraw at least three cards that cost 2 resources.

06 One card, plus a choice andor

{ "and": [
    { "card": "ASH_103" },
    { "or": [
        { "card": "ASH_095" },
        { "card": "SEC_185" }
    ] }
] }
In plain EnglishDraw Long Live the Empire, and at least one of Remnant Interceptor or Screeching TIE Fighter.

07 Two whole plans, either works or

{ "or": [
    { "and": [
        { "card": "JTL_081" },
        { "card": "ASH_103" }
    ] },
    { "cost": 2, "count": 4 }
] }
In plain EnglishEither draw both First Order TIE Fighter and Long Live the Empire, or draw at least four 2-cost cards.
Tip — read it inside-out. An innermost group resolves first, then its result feeds the group around it. Example 07 reads: “(TIE Fighter AND Long Live the Empire) OR (four 2-cost cards).”
Tip — single-child groups are pass-throughs. {"or":[X]} and {"and":[X]} both mean just X. The operator only matters with two or more children — which is why the builder hides the switch until then.

Same spec format as the CLI's --target-json. Card names/costs come from swu-db.com.