Skip to main content
Join The Community
- Join our community
11
Premium Benefits
24/7
Access Available
21K+
Active Members
Commenting
Join the discussion
Exclusive Articles Coming Soon
Member-only articles
Weekly Newsletters
Weekly gaming & entertainment news
Member Badges
Earn badges as you go
Exclusive Competitions
Members-only prize draws
Curated Deals Coming Soon
Tech and gaming deals worth grabbing
GET COMMUNITY ACCESS QUICK
For the quickest way to join, simply enter your email below and get access. We will send a confirmation and sign you up to our newsletter to keep you updated on all your gaming news.
By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.
FIND OUT ABOUT OUR MAGAZINE
Want to subscribe to the magazine? Click the button below to find out more information.
Find out more
GET Community ACCESS QUICK

Join the GamesRadar community for quick access. Enter your email below and we'll send confirmation, and sign you up to our newsletter.

By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.

Background
Welcome to GamesRADAR+ Community !
Hi ,

Your membership journey starts here.

Keep exploring and earning more as a member.

MY ACCOUNT

Badge picture
Earn your first badge
Read 1 article to unlock your first badge.
Keep earning badges
Explore ways to get more involved as a member.
Latest Games News

Latest Games News

Breaking gaming news and updates

Read Now
Latest Games Reviews

Latest Games Reviews

Expert verdicts on the newest releases

Read Now

See what you’ve unlocked.

Explore your membership benefits.

Explore
Member Exclusives

Stay Ahead with GamesRadar+

Get the biggest gaming news, reviews, and releases straight to your inbox.

Explore

Sign Out
GamesRadar+ GamesRadar+
US EditionUS CA EditionCanada UK EditionUK AU EditionAustralia
Sign in
  • View Profile
  • Sign out
  • Games
    • Game Insights
      • Games News
      • Games Features
      • Games Reviews
      • Games Guides
      • Big in 2026
      • Big Preview
      • Future Games Show
      • Golden Joystick Awards
    • Genres
      • Action Games
      • RPGs
      • Action RPGs
      • Adventure Games
      • Third Person Shooters
      • FPS Games
    • Platforms
      • PS5
      • Xbox Series X
      • PC
      • Nintendo Switch
      • Nintendo Switch 2
      • Tabletop Gaming
    • Franchises
      • Grand Theft Auto
      • Pokemon
      • Assassin's Creed
      • Monster Hunter
      • Fortnite
      • Cyberpunk
      • Red Dead
      • The Elder Scrolls
      • The Sims
  • Entertainment
    • TV Shows
      • TV News
      • TV Reviews
      • Anime Shows
      • Sci-Fi Shows
      • Superhero Shows
      • Animated Shows
      • Marvel TV Shows
      • Star Wars TV Shows
      • DC TV Shows
    • Movies
      • Movie News
      • Movie Reviews
      • Big Screen Spotlight
      • Superhero Movies
      • Action Movies
      • Anime Movies
      • Sci-Fi Movies
      • Horror Movies
      • Marvel Movies
      • DC Movies
    • Streaming
      • Apple TV Plus
      • Disney Plus
      • Netflix
      • HBO
      • Amazon Prime Video
      • Hulu
    • Comics
      • Marvel Comics
      • DC Comics
    • Toys & Collectibles
    • Lego
    • Dungeons and Dragons
    • Merch
  • Hardware
    • Insights
      • Hardware News
      • Hardware Reviews
      • Hardware Features
    • Computing
      • Desktop PCs
      • Laptops
      • Handhelds
    • Peripherals
      • Headsets & Headphones
      • TVs & Monitors
      • Gaming Mice
      • Gaming Keyboards
      • Gaming Chairs
      • Speakers & Audio
    • Accessories & Tech
      • Gaming Controllers
      • Tech
      • SSDs & Hard Drives
      • VR
      • Accessories
      • Retro
  • Deals
    • Game Deals
    • Tech Deals
    • TV Deals
    • Buying Guides
  • Video
    • Video
    • GR+ Replay - Submit Your Clips
  • Newsletters
    • Quizzes
    • About Us
    • How to pitch to us
    • How we score
    • Newsarama
    • Retro Gamer
  • home
  • Games
    • View Games
      • Games News
      • Games Features
      • Games Reviews
      • Games Guides
      • Big in 2026
      • Big Preview
      • Future Games Show
      • Golden Joystick Awards
      • Action Games
      • RPGs
      • Action RPGs
      • Adventure Games
      • Third Person Shooters
      • FPS Games
    • Platforms
      • View Platforms
      • PS5
      • Xbox Series X
      • PC
      • Nintendo Switch
      • Nintendo Switch 2
      • Tabletop Gaming
      • Grand Theft Auto
      • Pokemon
      • Assassin's Creed
      • Monster Hunter
      • Fortnite
      • Cyberpunk
      • Red Dead
      • The Elder Scrolls
      • The Sims
  • Entertainment
    • View Entertainment
    • TV Shows
      • View TV Shows
      • TV News
      • TV Reviews
      • Anime Shows
      • Sci-Fi Shows
      • Superhero Shows
      • Animated Shows
      • Marvel TV Shows
      • Star Wars TV Shows
      • DC TV Shows
    • Movies
      • View Movies
      • Movie News
      • Movie Reviews
      • Big Screen Spotlight
      • Superhero Movies
      • Action Movies
      • Anime Movies
      • Sci-Fi Movies
      • Horror Movies
      • Marvel Movies
      • DC Movies
    • Streaming
      • View Streaming
      • Apple TV Plus
      • Disney Plus
      • Netflix
      • HBO
      • Amazon Prime Video
      • Hulu
    • Comics
      • View Comics
      • Marvel Comics
      • DC Comics
    • Toys & Collectibles
    • Lego
    • Dungeons and Dragons
    • Merch
  • Hardware
    • View Hardware
      • Hardware News
      • Hardware Reviews
      • Hardware Features
      • Desktop PCs
      • Laptops
      • Handhelds
    • Peripherals
      • View Peripherals
      • Headsets & Headphones
      • TVs & Monitors
      • Gaming Mice
      • Gaming Keyboards
      • Gaming Chairs
      • Speakers & Audio
      • Gaming Controllers
      • Tech
      • SSDs & Hard Drives
      • VR
      • Accessories
      • Retro
  • Deals
    • View Deals
    • Game Deals
    • Tech Deals
    • TV Deals
    • Buying Guides
  • Video
    • View Video
    • Video
    • GR+ Replay - Submit Your Clips
  • Newsletters
    • Quizzes
    • About Us
    • How to pitch to us
    • How we score
    • Newsarama
    • Retro Gamer
Trending
  • Saros review
  • Arc Raiders
  • The Boys S5
  • Best turn-based RPGs
  • Submit your clips. Win prizes
  • Delta Force giveaway
Don't miss these
Armored tank warrior walking in cathedral
Action Games Meet the dev who quit Rockstar Games during GTA 6 fever to make a single-player MMO-like
Google Stadia
Games Former Google Stadia lead says the whole industry is "in trouble," but don't worry, AI will help
A female, pink-haired Pokemon trainer stands victorious after a battle in Pokemon Champions.
Pokemon I spent 12 hours making a Pokemon Champions team that's caused so many forfeits I almost feel bad
Half-Life 2 key art.
Games Valve devs are "investigating" gen AI for help with video game writing, "the one place" it might be worth using
Pokemon Pokopia screenshot showing Charmander, Bulbasaur, and Squirtle all gathered around a Ditto in human form between two green trees
Pokemon The ultimate Pokemon Pokopia guide for restoring the world around you
Pokemon Pikachu
Adventure Games The 10 best games like Pokemon for the discerning trainer
Two characters in Broken Sword - The Smoking Mirror Reforged looks surprised
Adventure Games Broken Sword 2 remaster showered in $400,000 after dropping AI upscaling to hand-draw 55,000 frames
A screenshot of Kitt in Pokemon Champions, standing in front of two Tauros.
Pokemon Pokemon Champions patches out strategies players have been using for years, but at least Freeze has finally been nerfed
Greninja and Sylveon fight in Pokemon Champions
Pokemon I made a competitive team in minutes in Pokemon Champions – this could open the door for newcomers
Hand holding Playdate handheld with Wheelsprung game on screen.
Handhelds ChatGPT code snuck onto the Playdate, but don't worry, handheld creators Panic are now barring AI games
Nvidia DLSS 5 example featuring Grace Ashcroft from Resident Evil 5 with right side showing DLSS "On" and left side showing DLSS 5 off.
Games Publisher head says "it doesn't matter" how many of us hate gen AI, Pandora's box has opened
A screenshot from the Pokemon Pokopia trailer shows Ditto transformed into a human.
Pokemon Pokemon Pokopia speedruns are already a thing, and they somehow don't use the cozy life sim's fastest ability
Arc Raiders Bastion chasing a player
Third Person Shooters Arc Raiders has a hidden "magic" system, and you've never noticed it because you're not supposed to
Pokemon Pokopia screenshot showing Charmander, Bulbasaur, and Squirtle all gathered around a Ditto in human form between two green trees
Pokemon After 30 years, Pokemon Pokopia finally answers an important question for "the hardcore lore freaks"
A robot crackles with yellow lightning in No Man's Sky: Xeno Arena
Open World Games No Man's Sky's Xeno Arena update has given me something I never knew I needed: Pokemon battling in VR
Sign up to the GamesRadar+ Newsletter

Weekly digests, tales from the communities you love, and more


By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.

You are now subscribed

Your newsletter sign-up was successful


Want to add more newsletters?

GamesRadar+

Every Friday

GamesRadar+

Your weekly update on everything you could ever want to know about the games you already love, games we know you're going to love in the near future, and tales from the communities that surround them.

GTA 6 O'clock

Every Thursday

GTA 6 O'clock

Our special GTA 6 newsletter, with breaking news, insider info, and rumor analysis from the award-winning GTA 6 O'clock experts.

Knowledge

Every Friday

Knowledge

From the creators of Edge: A weekly videogame industry newsletter with analysis from expert writers, guidance from professionals, and insight into what's on the horizon.

The Setup

Every Thursday

The Setup

Hardware nerds unite, sign up to our free tech newsletter for a weekly digest of the hottest new tech, the latest gadgets on the test bench, and much more.

Switch 2 Spotlight

Every Wednesday

Switch 2 Spotlight

Sign up to our new Switch 2 newsletter, where we bring you the latest talking points on Nintendo's new console each week, bring you up to date on the news, and recommend what games to play.

The Watchlist

Every Saturday

The Watchlist

Subscribe for a weekly digest of the movie and TV news that matters, direct to your inbox. From first-look trailers, interviews, reviews and explainers, we've got you covered.

SFX

Once a month

SFX

Get sneak previews, exclusive competitions and details of special events each month!


Join the club

Get full access to premium articles, exclusive features and a growing list of member rewards.


An account already exists for this email address, please log in.
  1. Games
  2. RPGs
  3. Pokemon Red/Blue

AI spends 7,000 hours beating Pokemon Red's first gym, but still can't find the second one after 50,000 hours

News
By Dustin Bailey published 23 October 2023

The AI got so traumatized by the Pokemon Center it refused to speak to Nurse Joy

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

Pokemon Red
(Image credit: Nintendo/Peter Whidden)
  • Facebook
  • X
  • Pinterest
  • Flipboard
  • Email
Share this article
Join the conversation
Follow us
Add us as a preferred source on Google
Subscribe to our newsletter

One programmer has given an AI model 50,000 hours worth of training in how to play Pokemon Red, leading to an algorithm that's capable of exploring the game and building a team to defeat the first gym leader - but not one that can find its way through Mt. Moon or know better than to keep buying Magikarp. Most of all, this exercise is a fascinating way to get an idea of how machine learning actually works.

As outlined in an extensive video by Peter Whidden, the AI is able to interact with the game through the usual control inputs on an emulator. It hits a button and looks at the screen to see what happened, the same as a human player. Whidden set learning sessions at two hours worth of game time apiece, though with emulation sped up those sessions could be completed in around six minutes of real-time - and the process was further sped up by running 40 testing sessions simultaneously.

Since a machine algorithm doesn't inherently care about beating a video game, Whidden set up particular goals for the AI to be rewarded for. To encourage curious exploration, the AI got a reward point whenever it saw something new, as measured by noticeably different pixels appearing on-screen. That has some unintended consequences - the AI would just stare, fascinated, at the slight animation of water, for example - but it broadly served to get the computer motivated to make it from Pallet Town through Viridian Forest and up to Pewter City, where the first gym battle against Brock takes place.

Article continues below
You may like
  • Official art of Pikachu from Pokemon Yellow in front of a blurred background Coming back to Pokemon Yellow 30 years later is like coming home – and playing it in 2026 is even better than when I was a kid
  • A human ditto taking a picture with a Ivysaur and  Venusaur in Pokemon Pokopia. After 48 hours, I've realized Pokopia is my ideal Pokemon game and humans were the problem all along
  • A female, pink-haired Pokemon trainer stands victorious after a battle in Pokemon Champions. I spent 12 hours making a Pokemon Champions team that's caused so many forfeits I almost feel bad

The AI needs further rewards and punishments, too. With rewards all tied up in seeing new things, the AI just wants to keep moving forward, which means it doesn't care about fighting battles or catching Pokemon, so it initially just ran away from every encounter. So Whidden added a system where the AI is rewarded based on the total level of its active Pokemon party.

YouTube YouTube
Watch On

That worked to keep the AI fighting for XP and catching Pokemon, but it had an unintended consequence, too. When the AI went to a Pokemon Center, it interacted with the PC there and deposited a few Pokemon. That dramatically dropped the total level of the party, ripping away a mass of reward points all at once. That was roughly equivalent to a traumatic experience for the AI, causing it to avoid Pokemon Centers altogether - thus refusing to heal the party until Whidden tweaked the reward systems again.

Since the AI essentially keeps doing things at random until it manages to figure out something that'll get it reward points, the fight against Brock proved to be a particular issue since you need to take advantage of his rock-type Pokemon's elemental weaknesses to do any real damage against them. It's only by virtue of one particular iteration where the AI's Squirtle happened to be out of PP for every move except Bubblebeam that the algorithm managed to pick up on how to beat the gym.

Yet while the AI is bad at figuring out things that might come pretty naturally to human players, it pretty quickly learns other, much more esoteric things. Whidden realized at a certain point that the algorithm would always plot a very specific, seemingly nonsensical path from Pallet Town up until the first encounter with a wild Pokemon. That seemed weird until it became clear that this precise series of inputs guaranteed that the wild Pokemon could be captured with a single throw of a Pokeball. Yes, the AI spontaneously learned the very art of RNG manipulation that speedrunners spend years developing.

Sign up to the GamesRadar+ Newsletter

Weekly digests, tales from the communities you love, and more

By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.

Beating Brock made for a pretty natural end goal for the project, but Whidden did let the AI run longer to see what would happen, and it did make it deep into Mt. Moon - but the dungeon's dank, samey passages were so off-putting to the AI that it was never able to find its way to the other side, so it was never able to find the second gym at Cerulean City.

One thing the AI did love, however, was buying Magikarp. The shady guy who sells you the worst Pokemon of all time at a ridiculous markup is pretty much a joke at this point, but for the AI, buying that Magikarp is a quick way to get five more levels worth of Pokemon in its party - the best deal in the game! Apparently, the AI bought that Magikarp over 10,000 times.

Oh, and for one last anecdote about the magic of a computer doing random things: at one point, the AI captured a Rattata and named the Pokemon 'AI.' Sometimes these things work out just a little too perfectly.

AI-generated art and writing is extremely controversial, but some veteran developers believe that in the game industry, "the money is still going to drive absolutely everybody" to make use of machine learning. 

Dustin Bailey
Dustin Bailey
Social Links Navigation
Staff Writer

Dustin Bailey joined the GamesRadar team as a Staff Writer in May 2022, and is currently based in Missouri. He's been covering games (with occasional dalliances in the worlds of anime and pro wrestling) since 2015, first as a freelancer, then as a news writer at PCGamesN for nearly five years. His love for games was sparked somewhere between Metal Gear Solid 2 and Knights of the Old Republic, and these days you can usually find him splitting his entertainment time between retro gaming, the latest big action-adventure title, or a long haul in American Truck Simulator.

Read more
Official art of Pikachu from Pokemon Yellow in front of a blurred background
Pokemon Coming back to Pokemon Yellow 30 years later is like coming home – and playing it in 2026 is even better than when I was a kid
 
 
A human ditto taking a picture with a Ivysaur and  Venusaur in Pokemon Pokopia.
Pokemon After 48 hours, I've realized Pokopia is my ideal Pokemon game and humans were the problem all along
 
 
A female, pink-haired Pokemon trainer stands victorious after a battle in Pokemon Champions.
Pokemon I spent 12 hours making a Pokemon Champions team that's caused so many forfeits I almost feel bad
 
 
Pokemon Red and Blue key art
Pokemon "We had no idea this would be such a phenomenon": As Pokemon Red and Blue turn 30, here's how Game Freak created one of the most important RPGs of all time
 
 
Pokemon Go
Pokemon With over 30 billion images logged, Pokemon Go is using players' activity to train its spinout AI company
 
 
Pokemon Red and Blue key art
Pokemon OG Pokemon devs struggled to fit their iconic RPG onto a Game Boy cartridge: "It was a fight against capacity"
 
 
Latest in RPGs
Clair Obscur: Expedition 33 screenshot of Verso, a man with black hair with white streaks running through his fringe
RPGs Clair Obscur: Expedition 33 actor doesn't think "video games need to justify their existence by being TV shows"
 
 
A screenshot of a group of characters in the RPG Final Fantasy 14 with banner flags behind them.
RPGs 10 Best RPGs that are better with friends to play right now in 2026
 
 
RPGs The Legend of Zelda and World of Warcraft shaped Fable 2's no-death system, but Peter Molyneux had to fight for it
 
 
Monoco readies for battle in Clair Obscur: Expedition 33
RPGs Clair Obscur: Expedition 33's a "great example" of subscription services helping sales, analyst says
 
 
Clair Obscur: Expedition 33 lead Gustave faces a gommage
RPGs Clair Obscur: Expedition 33 devs "won't be announcing any new major DLC" amid 1-year anniversary
 
 
Baldur's Gate 3 DLC
Baldur's Gate Larian keeps a reminder of Baldur's Gate 3 breaking Steam, hopes Divinity will "absolutely demolish" Valve's storefront
 
 
Latest in News
Kliff resting by a stream in a forest in Crimson Desert
Open World Games Despite Crimson Desert's popularity, almost 80% of Steam players haven't made it halfway through the story yet
 
 
The Boys
Superhero Shows Soldier Boy never being an actual soldier may be a focal point in spin-off Vought Rising
 
 
Emma D'Arcy as Rhaenyra Targaryen in House of the Dragon season 3
Fantasy Shows House of the Dragon season 3 trailer cleverly sets-up a major tragedy to come from George R.R. Martin's book
 
 
Hugh Jackman petting a sheep in new movie The Sheep Detectives
Comedy Movies Wolverine star Hugh Jackman breaks his Rotten Tomatoes record… with a talking sheep movie
 
 
Steam and Valve's Gabe Newell
Games 14 years ago, Valve boss Gabe Newell thought Steam would be replaced in "2 or 3 years"
 
 
Final Fantasy 14: Evercold
Final Fantasy Final Fantasy 14 Evercold promises to scrap the MMO's 2-minute meta and change jobs for the better
 
 
LATEST ARTICLES
  1. Kliff resting by a stream in a forest in Crimson Desert
    1
    Despite Crimson Desert's popularity, almost 80% of Steam players haven't made it halfway through the story yet, proving how massive Pearl Abyss's open world is
  2. 2
    The Boys fans thinks season 5 is being "too scared" so far when it comes to killing off major characters: "Someone needs to die this week"
  3. 3
    I love Slay the Spire 2, I hate Slay the Spire 2
  4. 4
    The Steam Controller doesn't appear to be a hit for competitive play, so here are the alternatives I'd recommend instead
  5. 5
    I'm gassed that Valve is "hard at work" on Steam Deck 2, but let's get the Steam Machine out of the way first

GamesRadar+ is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site.

Add as a preferred source on Google Add as a preferred source on Google
  • Terms and conditions
  • Contact Future's experts
  • Privacy policy
  • Cookies policy
  • Accessibility statement
  • Careers
  • About us
  • Advertise with us
  • Review guidelines
  • Write for us

© Future US, Inc. Full 7th Floor, 130 West 42nd Street, New York, NY 10036.

Please login or signup to comment

Please wait...