Solving Pokemon Blue With a Single, Huge Regular Expression
I was playing my old copy of Pokemon Blue for the original Game Boy one day during winter holidays, for old times sake. About an hour in, I realized that this was probably going to take me on the order of 2030 hours to complete. 2030 hours Who has time for that What Id really like to do is sit down, think very carefully, and write down all the moves Id like to make, all at once, and then pass them to a regular expression, which will accept if (and only if) those moves will win a game of Pokemon Blue. This approach has a lot of advantages For example, in addition to being faster to specify a complete moveset for a game, it allows you to put your entire game of Pokemon Blue into a version control system git), which allows you to apply the infrastructure as code philosophy to your Pokemon Blue runthrough.
|
|