This post presents a “solution” to the Battle Pike in Pokémon Emerald’s Battle Frontier. I assume you understand a bit about Pokémon, but the section on mechanics should give you enough context to enjoy the decision problem.
Update (2026-02): The support for APNGs has improved considerably since this post was written. It was still an interesting investigation into PNGs so I’m going to leave it here.
Update (2026-03-13): This post is almost 14 years old! The latest version of Jekyll when this text was written was 0.11.2, which didn’t include Data Files, a feature for converting CSV/JSON/YAML files into items to include in the website; even so, I decided to keep it up due to the investigation being interesting in my opinion. I rewrote a few paragraphs for clarity.