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

Template page
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
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 {{P1}} strats, and columns represent {{P2}} 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.
Each cell represents the payoff (damage) for that outcome from {{P1}}'s perspective. For example, the value in the 3rd column of the second row is 76, indicating that {{P1}} hits for 76 dmg if they use HAR.uf+3 and {{P2}} uses OTG.3_4.


This layout corresponds to how the generated .gbt file looks in the Gambit GUI.
This layout corresponds to how the generated .gbt file looks in the Gambit GUI and when displayed by {{tl|Mixup}}.

Latest revision as of 06:00, 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 P1 strats, and columns represent P2 strats, in the order specified in P1-strats and P2-strats.

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

This layout corresponds to how the generated .gbt file looks in the Gambit GUI and when displayed by {{Mixup}}.