Skip to main content

AI re-creates ‘Super Mario Bros.’ game engine by watching gameplay footage

super mario bros
Over the past few years, we have seen various attempts to teach an artificial intelligence how to play a video game. Now, researchers at the Georgia Institute of Technology’s School of Interactive Computing published a paper outlining a method of teaching AI how to learn a game engine.

In previous projects, the AI has only been instructed on how to excel at a particular game. This study goes one step further, aiming to instill a deeper understanding of the mechanics at play, rather than just the fastest route to success.

The researchers decided to use Super Mario Bros. for the study, describing it in the paper as a “classic platformer.” The same game was at the core of previous researchers performed by the study’s authors, which developed an AI that was capable of creating new stages in the vein of those seen in the original.

For the purposes of this research, the AI was not given access to the game’s code, which would make it very easy for it to understand things like the height that the character could achieve with a jump or the effect various enemies had on the protagonist. Instead, it was fed video footage that it used to make assumptions how the game engine worked.

The footage was analyzed via a three-step process, starting with a scan that determines which objects were present in a given frame. A greedy matching algorithm was then run over a pair of adjacent frames to gauge changes made to those objects before each frame was parsed — if the second frame differed beyond a set amount from what the system expected to see in the next frame, an engine search would be performed.

“We anticipate this technique to aid in applications for automated game playing, explainable AI, gameplay transfer, and game design tasks such as automated game design,” the team states in the paper.

However, there are some limitations to the AI in its current form. For one, the technique that is currently in place doesn’t take player death or level transitions into account, but the team hopes to address this issue in a future study.

Brad Jones
Brad is an English-born writer currently splitting his time between Edinburgh and Pennsylvania. You can find him on Twitter…
That $2 million Super Mario Bros. auction may have been rigged
2 million super mario auction bros

Complete-in-box retro games have been in the news a lot lately due to their sale prices rising. The most famous recent example of this phenomenon is a copy of Super Mario Bros. for the Nintendo Entertainment System selling for $2 million. In a video investigation, journalist Karl Jobst claims that the grading company, Wata Games, and the auction company, Heritage Auctions, behind these sales are artificially raising the value.

Exposing FRAUD And DECEPTION In The Retro Video Game Market

Read more
Sealed Super Mario Bros. game auctioned for a whopping $660,000
Mario twirls his cap in front of New Donk City in Super Mario Odyssey.

A factory-sealed copy of Nintendo’s Super Mario Bros. game bought 35 years ago has fetched an incredible $660,000 at auction.

The sale was handled by Dallas-based Heritage Auctions and took place on Friday, April 3. The identities of the seller and buyer have not been revealed.

Read more
New Super Mario Bros. U Deluxe: All of the secret exits and world skips
new super mario bros u deluxe all secret exits world skips

New Super Mario Bros. U Deluxe is about to see a new update to the Nintendo Switch port version of the game. Although the current addition includes both Mario U and Luigi U, the newest release will also include a new story and world to explore with Bowser's Fury. While the new addition is extremely exciting, getting back into the Super Mario Bros. U Deluxe can be a little tricky.

The game holds a lot of secrets. There are hidden exits and world skips that you can easily miss. Luckily, we can direct you toward the right areas to find some of the game's best-kept secrets.

Read more