‘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

England v New Zealand: Injured Josh Tongue replaced by Chris Jordan in hosts’ squadon August 26, 2023 at 9:44 am

Pace bowler Josh Tongue is ruled out of England's T20 series against New Zealand through injury, with Chris Jordan replacing him.Pace bowler Josh Tongue...

January 6: Ex-police officer gets record 10-year sentence over Capitol riotson September 1, 2022 at 9:52 pm

Thomas Webster, 56, attacked officers with a metal flagpole during the riots in January 2021.Image source, US Justice DepartmentAn ex-New York City police officer...

Asda limits sales of tomatoes, cucumbers and pepperson February 21, 2023 at 2:42 pm

Supermarkets are facing shortages of some fresh fruit and veg due to extreme weather and rising energy costs.Image source, SWNSBy Theo LeggettBusiness correspondent, BBC...

Toxic gaming tackled by Ubisoft’s unique police alert systemon February 8, 2023 at 1:54 am

BBC News has exclusive access to how Ubisoft's customer relations centre is working with police.BBC News has exclusive access to how Ubisoft's customer relations...

Greggs bakery sales up nearly a fifth in past yearon May 16, 2023 at 10:23 am

The bakery chain said hot food like chicken goujons, wedges and pizza were particularly popular.Image source, Getty ImagesGreggs says sales have gone up nearly...
Home of Science
Follow me