‘Pac-Man’ once felt futuristic. Now there’s a new one built entirely by AI.

- Advertisement -
- Advertisement -
- Advertisement -
- Advertisement -

We all have to look a little harder for reasons to celebrate in this dark year of 2020, but here’s a good one: On May 22, Pac-Man turns 40.

The first video game to really catch the attention of a global audience came to Japanese and American arcades in 1980. The round, yellow hero’s pellet-chomping, ghost-dodging ways immediately felt like a technological marvel. But now, the same feat of computer programming that seemed so complex way back when has been rebuilt from the ground up – by a thinking computer.

That creation, the AI that built its own Pac-Man, is the product of Nvidia’s research team. The Nvidia GameGAN, as it’s called, learned everything it could about the classic arcade game over the course of 50,000 “episodes,” or play sessions, in which it monitored key presses and on-screen behaviors to glean an understanding of Pac-Man‘s ground rules.

Armed with that knowledge, the AI then set to work on building a Pac-Man of its own. This isn’t so much a remake as it is a completely new creation, crafted by a neural network that was trained over a period of four days to understand the fundamentals of how the original game works.

(The in-game footage you see above appears a little choppy, but Nvidia tells us GameGAN’s Pac-Man runs smoothly.)

The particulars of how this all came together gets a little technical, so bear with me. The “GAN” in GameGAN is an acronym for “generative adversarial network.” In short, a GAN is actually two neural networks working at cross-purposes (hence, the “adversarial”) toward the shared goal of learning enough about a thing to create a convincingly real version of it. Not a carbon copy, mind you, but something that could pass itself off as a real, if different, thing.

You’re probably familiar with GAN creations even if you don’t realize it. You’ve surely read about or seen deepfakes, those partially or wholly faked videos that can change the faces and/or voices of speakers in modified videos. Well, GANs are the underlying AI technology that allow for the creation of deepfakes.

Instead of sticking Donald Trump’s face on a toddler’s body or inserting Tom Holland into Back to the Future, Nvidia’s GameGAN played and learned Pac-Man. It then used the information that was gleaned to build something wholly new.

“It learned the rules of Pac-Man. This artificial intelligence learned that Pac-Man can move around this maze. … It learned that the ghosts move in a particular way, and that when Pac-Man eats one of the power pellets the ghosts turn blue. And it learned what happens when a ghost touches Pac-Man,” Nvidia’s Rev Lebaredian, vice president of simulation technology, told Mashable.

“It learned all of this without having any concept of how the game mechanics work in the code. It observed it just like a human might.”

GameGAN then used the knowledge it amassed to make a new Pac-Man. Having developed an understanding of both the mechanics and design, the AI is able to generate wholly new maze layouts. I haven’t seen the finished product outside of the above trailer, but I’ll be trying it alongside everyone else when Nvidia releases GameGAN’s Pac-Man later in 2020, potentially over the summer.

This article was originally published on mashable.com

Home of Science
Follow me

- Advertisement -

Discover

Sponsor

Latest

PSNI chief warns of dissident republican disorder during Easteron April 7, 2023 at 3:32 am

Northern Ireland is marking 25 years since the Good Friday Agreement which ended decades of conflict.Image source, PacemakerBy Julian O'NeillBBC News NI home affairs...

Golden Globes crisis: Tom Cruise returns awards and NBC drops ceremonyon May 11, 2021 at 10:14 am

Tom Cruise hands back three gongs and the crisis-hit awards are without a broadcaster for next year.image copyrightFrank TrapperTom Cruise has handed back his...

Five things to take to university – and one to avoidon September 22, 2022 at 11:45 pm

Brighten up your accommodation, make friends and save on costs with these handy items.Brighten up your accommodation, make friends and save on costs with...

Erling Braut Haaland the star for Borussia Dortmund in win against Frankfurton August 15, 2021 at 6:16 pm

Erling Braut Haaland scores twice and sets up three goals in Borussia Dortmund's 5-2 win against Eintracht Frankfurt.Erling Braut Haaland scores twice and sets...

Jon Batiste: Opening portals to new musical worldson August 18, 2023 at 11:17 pm

After his surprise album of the year win at the Grammys, Jon Batiste wants to expand music's horizons.After his surprise album of the year...
Home of Science
Follow me