Game Like a Statistician: The Sometimes-Filthy Opportunity Cost of Zing

Dragon Quest is a interesting franchise of games for a number of reasons: it’s got a very nationalized fandom (large in Japan, tiny worldwide), the cutest mascot, and it’s really damn good.* Of particular interest here is that the Dragon Quest franchise has, from very early on, incorporated a good deal of random chance. Owing to the creator’s personal interest in gambling, opportunities to press one’s luck are found throughout the franchise, both overtly advertised in casinos and more subtly worked in the battle system. Unlike in real life, the casinos in Dragon Quest are eminently beatable – save at church, play highest-stakes game available, reloading if necessary, until a win happens, and repeat until you have the Metal King Sword at level 8. The finer points of DQ’s battle system are less obviously solvable – information beyond one’s control can determine whether a risk one is about to take is smart or stupid, and a lot of fictional parties ended up dead thanks to their players inadequate assessment of said risks.

One of the most fun choices in the series originates from a spell introduced in the series’ third installment. Zing is a spell which, half of the time it is cast, does nothing, an annoying feature balanced out by what it does the other half of the time – resurrect an unconscious party member. Thus, for much of the game, a player with a KO’ed ally faces a nonsimple dilemma – is zing generally worth it? Does the upside of having that ally back outweigh the opportunity cost? I’m going to examine some of the fundamentals of that question using a fairly basic battle simulator I built from scratch.

Continue reading

Advertisements

Game Like A Statistician: Cave Story’s Stone Shower

For my own enjoyment, I’m going to take some (temporary) space out and talk about gaming, and how sports metrics changed it for me in the past couple of years.

Recently, I’ve jumped on the bandwagons of a football writer, Bill Barnwell, who works probabilities into coverage of a sport where teams typically used them incorrectly or not at all when not nicknamed Riverboat Ron. Since I tend to play video games a lot more than I play sports, I’ve absorbed a certain way of thinking prevalent throughout his work – though execution ultimately makes the difference, one’s chances of victory* can be increased by playing in unorthodox ways even if you’re not the best at them.

Inefficiencies as they are typically discussed in the game of football tend to rear their head when a coach takes the traditional, “safe” option and ends up slow cooking his team instead of taking a chance to actually dive through the fire and come out of the other side alive. After reading these articles for a while, and dealing with one particular hallway in Daisuke Amaya’s Cave Story, I realized I was leaving a good chunk of my time and lives on the table by being too afraid to take damage.

Continue reading