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
An image of Pro-Ject's Flatten it closed and opened
Pro-Ject’s new vinyl flattener will fix any warped LPs you inadvertently buy on Record Store Day
EA Sports F1 25 promotional image featuring drivers Oscar Piastri, Carlos Sainz and Oliver Bearman.
F1 25 has been officially announced, with this year's entry marking a return for Braking Point and a 'significant overhaul' for My Team mode
Garmin clippd integration
Garmin's golf watches just got a big software integration upgrade to help you improve your game
Robert Downey Jr reveals himself as Doctor Doom to a delighted crowd at San Diego Comic-Con 2024
Marvel is currently revealing the full cast for Avengers: Doomsday, and I think it's going to be a long-winded announcement
Samsung QN90F on yellow background
Samsung announces US prices for its 2025 mini-LED TV lineup, and it’s good and bad news
Nintendo Switch Lite
Forget the Nintendo Switch 2, the original Switch is getting one last hurrah in a surprise Nintendo Direct tomorrow