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

Template page
No edit summary
No edit summary
Line 1: Line 1:
<pre>{
<syntaxhighlight lang="json">
{
     "title": "Katarina post-HAR.4 ender oki (infinite stage)",
     "title": "Katarina post-HAR.4 ender oki (infinite stage)",
     "P1": "Kattacker",
     "P1": "Kattacker",
Line 12: Line 13:
     ]
     ]
}
}
</pre>
</syntaxhighlight>


The JSON file used to generate the [[Mixup:Kat-har4-oki.gbt|.gbt file]] for analyzing Katarina's post-HAR.4 ender oki. Rows represent attacker strats, and columns represent defender strats (in the order specified in "P1-strats" and "P2-strats"). Each cell represents the attacker's payoff (damage) for that combination of attacker and defender strat (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). The layout of the payoff table in the JSON file corresponds exactly to how it will look laid out in the Gambit GUI.
The JSON file fed to [[Template:Mixup/json2gbt]] 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>.  
 
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.

Revision as of 05:08, 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 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.