‘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

At least 41 hurt in Russian air strikes on Kharkivon September 1, 2024 at 2:52 pm

The regional head accused Moscow of targeting civilians after a supermarket and sports complex were hit.The regional head accused Moscow of targeting civilians after...

Midsomer Murders: The county that hopes a police show will lure back visitorson April 18, 2021 at 7:05 am

"I thought it would be nice to find the places it was filmed - I used to go out most weekends."image copyrightVisit BucksWith the...

Leicester claim 13th successive win by beating Connacht in Champions Cupon December 19, 2021 at 3:31 pm

Leicester fight off an impressive Connacht to claim their 13th win in a row with a 29-23 victory in the Champions Cup.

Winter set to be worst ever for A&E waits, health leaders warnon December 31, 2022 at 10:03 am

Demand for hospitals driven by winter illness means the NHS is being "pressurised like never before".Image source, Matt Cardy/Getty ImagesBy Adam Durbin & James...

Royal Mail’s Saturday post should stay, government sayson January 22, 2024 at 1:39 pm

Royal Mail wants to drop Saturday deliveries but the prime minister says they are "important".Image source, Getty ImagesThe government has said it would not...
Home of Science
Follow me