You are viewing a single comment's thread from:

RE: Thoughts on the Battlepass: The Good, The bad, The ugly

in Gods On Chain18 hours ago

right on man! so i think i can elaborate a little on what the 'engine' can or can't do since i've been working with the GU match api for a couple years now.

here's a look at an api return for a random match:

Show Match Return Spoiler Text


{
"player_won": 4728427,
"player_lost": 4705093,
"game_mode": 7,
"game_id": "dd2043f8-46b0-8b6b-cef9-64974cf36687",
"start_time": 1742313559,
"end_time": 1742313723,
"player_info": [
{
"god": "light",
"cards": [
2530, 2257, 223, 2922, 1676, 2329, 121, 2729, 1318, 918,
1017, 1017, 1057, 1066, 1162, 1188, 1268, 1268, 1283, 1283,
1290, 1672, 1757, 2611, 2902, 2904, 2922, 2923, 2938, 2940
],
"global": false,
"health": 30,
"status": "connected",
"user_id": 4728427,
"god_power": 100115
},
{
"god": "war",
"cards": [
908, 1427, 2410, 913, 2823, 1337, 2923, 1237, 1441, 2472,
2439, 2439, 2442, 322, 1140, 1221, 1234, 1273, 1283, 1320,
1581, 1583, 2914, 2915, 2919, 2920, 2923, 2945, 2951, 2951
],
"global": false,
"health": 26,
"status": "conceded",
"user_id": 4705093,
"god_power": 102402
}
],
"total_turns": 7,
"total_rounds": 4
}

basically this is what gets passed between the front end and back end. so in game events (like breaking protected) would never show up, but anything we can determine from the card list (like having no frontline creatures in your deck) is totally doable. ofc, GU would need to make a list of all frontline creatures, but this is easily generated/includable as part of the FE package.

one easy bit of low hanging fruit we can see right away here would be health: win 3 games with 30 or more health, win 3 games with 10 or less health.

anyhoo, great job, i love that there's written content for GU coming down the pipe these days!