Template:Mixup/Kat-har4-oki.json: Difference between revisions

Template page
m (RogerDodger moved page Sample.json to Template:Mixup/Kat-har4-oki.json)
No edit summary
Line 15: Line 15:
</syntaxhighlight>
</syntaxhighlight>


The JSON file fed to [[Template:Mixup/json2gbt]] to generate [[Mixup:Kat-har4-oki.gbt]].
The JSON file fed to [[Template:Mixup/json2gbt.py]] to generate [[Mixup:Kat-har4-oki.gbt]].


Rows of the <code>payoffs</code> array represent attacker strats, and columns represent defender strats, in the order specified in <code>P1-strats</code> and <code>P2-strats</code>.  
Rows of the <code>payoffs</code> array represent attacker strats, and columns represent defender strats, in the order specified in <code>P1-strats</code> and <code>P2-strats</code>.  

Revision as of 05:58, 15 August 2022

{
    "title": "Katarina post-HAR.4 ender oki (infinite stage)",
    "P1": "Kattacker",
    "P2": "Defenderina",
    "P1-strats": [ "HAR.df+3", "HAR.uf+3", "HAR.D" ],
    "P2-strats": [ "Techroll", "DB", "OTG.3_4", "OTG.3+4", "OTG" ],
    "comment": "Katarina post-HAR.4 ender [[Okizeme|oki]] in the mirror on an infinite stage",
    "payoffs": [
        [  20, -15,  42, -20,  16 ],
        [   0,  38,  76, -16,  34 ],
        [   0,   0,  72,  72,   0 ]
    ]
}

The JSON file fed to Template:Mixup/json2gbt.py to generate Mixup:Kat-har4-oki.gbt.

Rows of the payoffs array represent attacker strats, and columns represent defender strats, in the order specified in P1-strats and P2-strats.

Each cell represents the payoff (damage) for that outcome from the attacker's perspective. For example, the value in the 3rd column of the second row is 76, indicating that the attacker hits for 76 dmg if they use HAR.uf+3 and the defender uses OTG.3_4.

This layout corresponds to how the generated .gbt file looks in the Gambit GUI.