Skip to content
Methods

Methods ​

SquiRtL learns to walk Blue from his bedroom to Oak's lab and to choose a starter, reading nothing but the screen and a reward drawn from the game's memory. Each episode starts in Blue's bedroom, where he stands once the intro is played through, and ends on the step first setting the flag the run names as its goal, by default when he receives his starter, or when the step budget runs out.

The Parts of a Run ​

A run joins the parts below, each set out on a page of its own:

  • The environment presses one button a step, advances the game 17 frames, and returns the screens the agent reads
  • The reward reads the game's memory after each step and pays for a square not reached before and for each milestone on the way to the run's goal
  • The agents choose each press and learn from what it paid, whether the deep Q-network, PQN, or PPO
  • The curriculum starts a training episode partway along a demonstration and moves its start back toward the bedroom as the agent succeeds
  • The search finds a demonstration without training, playing copies of the game forward from saved states and keeping the copies that reach the most

The evaluation then plays each trained agent from the bedroom beside random presses under the same seeds.

Prior Work on the Game ​

Pleines et al.⁠1⁠ train PPO on Pokémon Red from the screen, a crop of the positions reached, and the game's event flags, and many of the defaults here follow their settings. Peter Whidden's PokemonRedExperiments trains PPO on the same game, paying its agent for reaching places it has not seen.


  1. 1Pleines et al. 2025.

    "Pokémon Red via Reinforcement Learning." 2025 IEEE Conference on Games (CoG): 1–8. https://doi.org/10.1109/cog64752.2025.11114399