‘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

Mesothelioma Attorney – How to Find the Right One

A mesothelioma attorney is one who will fight for you, trying to find the best settlement. This is very important if you are a...

Make Money With An Annuity – Put Your Money In Safe Places

When you have money it is easy to buy things you want. You have the money you need. All you need to do is...

WHO says it’s in talks to send mission to China to investigate source of coronavirus

KEY POINTS The WHO is in talks with China to send a follow-up mission to the country to investigate the animal source of the...

Next coronavirus aid package may not pass Congress until June as battle lines harden

The battle lines are hardening over Washington’s next legislative response to the coronavirus crisis, with top Democratic lawmakers calling for another big spending package...

Laika’s stop-motion spin on TikTok quarantine fistfights is a must-watch

By now, you've probably seen some version of the #QuarantineFightChallenge on TikTok. (This one, from Zoë Bell, is still the best of the bunch.) It's...
Home of Science
Follow me