This computer learned how to make Mario levels by watching YouTube

This computer learnt how to make Mario levels from YouTube

Researchers at the Georgia Institute of Technology have built a computer that can design videogame levels after watching footage of those games on YouTube. The first test? Mario, of course.

The system ignores the playable character and instead looks at the other elements on screen - pipes, coins, blocks and enemies. From that, it establishes rules - like how pipes in Mario games tend to come out of the ground, and the maximum width that a jump can be. It also looks at which sections players spend the most time on.

"An initial evaluation of our approach indicates an ability to produce level sections that are both playable and close to the original without hand coding any design criteria," said Matthew Guzdial, lead researcher on the project.

Mamma mia!

After watching 17 samples of gameplay, the system was able to output 151 different level sections, and 334 once the constraints were slackened a little. The resulting chunks can be glued together into a level and easily ported into a game engine.

Mark Riedl, who also worked on the system, said that by applying the technique across several games of the same genre, the rules of that genre could be established and entire games created algorithmically. In short, the next hit mobile game might not be designed by humans at all.

The details of the research have been published online.

TOPICS
Duncan Geere
Duncan Geere is TechRadar's science writer. Every day he finds the most interesting science news and explains why you should care. You can read more of his stories here, and you can find him on Twitter under the handle @duncangeere.
Latest in Consoles & PC
Image of Naoe in AC Shadows
Assassin's Creed Shadows is hands-down one of the most beautiful PC ports I've ever seen
Image of AC Shadows cover art & Steam Deck
It's not perfect, but Assassin's Creed Shadows' performance is impressive - it runs smoothly on the Steam Deck and Asus ROG Ally
Steam Deck OLED in limited edition white color
With a single update SteamOS could turbocharge handheld PCs – here's how
Samus Aran leaping through space
Metroid Prime 4 tipped to be at the heart of April's Nintendo Switch 2 deep-dive
Nintendo Switch 2
Nintendo Switch 2 expected to have AI upscaling and I can't wait to finally play Tears of the Kingdom with upgraded graphics
Asus ROG Ally using Steam
I think Asus could be the perfect partner for an Xbox handheld – but I have questions
Latest in News
Ray-Ban Meta Smart Glasses
Samsung's rumored smart specs may be launching before the end of 2025
Apple iPhone 16 Review
The latest iPhone 18 leak hints at a major chipset upgrade for all four models
Quordle on a smartphone held in a hand
Quordle hints and answers for Monday, March 24 (game #1155)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Monday, March 24 (game #386)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Monday, March 24 (game #652)
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 23 (game #1154)