+

Cookies on the Business Insider India website

Business Insider India has updated its Privacy and Cookie policy. We use cookies to ensure that we give you the better experience on our website. If you continue without changing your settings, we\'ll assume that you are happy to receive all cookies on the Business Insider India website. However, you can change your cookie setting at any time by clicking on our Cookie Policy at any time. You can also see our Privacy Policy.

Close
HomeQuizzoneWhatsappShare Flash Reads
 

Watch a simple bot destroy 'Super Mario Bros'

Nov 3, 2016, 03:46 IST

Back in 2009, Julian Togelius helped organize the first competition to build artificial intelligence to play an open-source clone of "Super Mario Bros." He was shocked when someone created an amazing bot in a matter of days.

Advertisement

"We were a bit dismayed because we didn't think the problem would be solved that easily," Togelius told us in an interview on the state of game-playing AI.

The bot was created by Robin Baumgarten. A video uploaded to YouTube shows Mario speeding through the level with impossible precision, with red lines in front of him showing calculated paths.

How did Baumgarten do it? Basically, he used the open-source game code to create a bot that simulates every possible move as it goes.

Advertisement

"Every timestamp he makes a plan for how to best get to the right end of the screen," Togelius said. "That's why he can do all these crazy things."

Baumgarten shared a few details with us as well. He says it took him about a week to build the initial bot, with two-to-three weeks of optimization.

"I actually released the video before the competition was over - in fact, the bot still had bugs, as you can see when Mario almost falls into a hole," Baumgarten wrote. "That was almost a mistake, since people on Reddit spotted the video, where it got onto the front page, and some keen Redditors actually tried to copy what I did .... Mine only won by some cunning optimizations and exploitation of the winning condition."

In subsequent years of the competition, Togelius added new challenges, including levels that forced the bots to backtrack, and Baumgarten's bot lost its edge in those. Today, the game is essentially solved, and researchers have moved on to harder games.

NOW WATCH: How the 'perfect body' for men has changed over the last 150 years

Please enable Javascript to watch this video
You are subscribed to notifications!
Looks like you've blocked notifications!
Next Article