- ‘Sonic The Hedgehog’ sets box office record for video game movies Sunday 8:15 PM
- Truck driver allegedly watching porn kills teen driver in a car crash Sunday 6:44 PM
- Is the Buttigieg campaign behind this pro-Pete Nigerian Twitter account? Sunday 4:58 PM
- Mask that has your face printed on it allows you to unlock your phone during viral epidemics Sunday 3:52 PM
- Justin Bieber slid into the DMs of someone who hated his new album Sunday 1:05 PM
- HQ Trivia host and co-founder in Twitter feud amid shutdown Sunday 12:10 PM
- YouTuber shamed for fake call with Caroline Flack after her death Sunday 10:59 AM
- This MAGA-loving Keanu Reeves imposter isn’t fooling anyone Sunday 10:16 AM
- How to watch ‘Outlander’ season 5 online Sunday 8:00 AM
- Kobe Bryant’s complicated online legacy isn’t buried with him Sunday 6:00 AM
- TikTok teen’s reaction to discovering boyfriend’s cheating goes viral Saturday 4:46 PM
- This may be the creepiest Amazon review you’ll ever read Saturday 3:58 PM
- Bill Maher booed on own show over defense of Bloomberg Saturday 3:37 PM
- The Sun allegedly deletes negative Caroline Flack story after her death Saturday 2:48 PM
- How to watch ‘American Idol’ season 18 Saturday 2:00 PM
‘Playfun’ is an artificial intelligence that kicks butt at old Nintendo games
If an NES game keeps score, this AI can own it
Video games used to be much more difficult than they are today, so don’t feel bad that an artificial intelligence might have more gamer cred than you do.
Dr. Tom Murphy VII, Ph.D., published a paper on April 1, 2013, with the results of an experiment to automate the playing of Nintendo Entertainment System (NES) games. He called the program “Playfun.” The computer kicks some serious ass at exactly the right kind of NES games.
Murphy posted three YouTube videos showing Playfun in action. Watch below as Playfun tries its virtual hand at Gradius, a 2D side-scrolling shooter that requires quick reflexes and constant attention to detail in order to beat.
Playfun is not always a genius. It kills itself when trapped by bullets, for example, until it’s down to one life. Playfun apparently then understands what’s at stake, because the AI brings some serious pain at crunch time.
Murphy begins the first video in this series with a technical explanation about how Playfun works. This is meant to be a more accessible version of the explanation in his paper. It still may not be digestible for everyone, so here’s the best layman’s explanation we could boil down.
Murphy “trains” Playfun by allowing it to watch him playing a game, as expressed by registering his control inputs (for example, button presses). Next, Murphy defines for Playfun what it means to “win” a game, which in many cases man can expressed numerically, for instance by increasing a score.
Once Playfun knows how to play a game, and what it means to win that game, it can figure out what to do at any given moment in order to increase the number or numbers that define victory. This simple AI can be applied to several different NES games, because the basic functionality of the program still applies.
It doesn’t always work, of course. For instance, here is Playfun’s epic fail at the original Legend of Zelda, where the victory conditions are not as easily expressed in numbers as in Gradius, which has a score counter.
Murphy says that there are better ways to automate NES play, but that they aren’t as “mathematically elegant” as his solution. We’re not sure what that means, precisely. If you do, and want to check it out, Murphy offers the Playfun source code on his website.
Screengrab via suckerpinch/YouTube
Dennis Scimeca was the Daily Dot's gaming reporter until 2016. He loves first-person shooters, role-playing games, and massively multiplayer online games. His work has appeared in Salon, NPR, Ars Technica, Kotaku, Polygon, Gamasutra, GamesBeat, Paste, and Mic.