No, it wasn’t just you: Super Mario Bros. is tougher than NP-hard

A new paper co-written by researchers at MIT, the University of Ottawa, and Bard College at Simon’s Rock says that Super Mario Bros. belongs to the complexity class PSPACE, meaning it’s more difficult to “solve” algorithmically than the famous traveling-salesman problem or factoring large numbers, which are referred to as NP-hard.

It’s OK, you’re old enough to admit it – you stunk at Super Mario Bros. The vaunted “feel” of Mario’s movement had you skidding into Koopas and off of cliffs, and the game eventually made you so frustrated that you eventually just played outside instead.

And hey, now there’s scientific proof that the game really is just that hard, despite what your friend Jesse – who beat the whole thing with sickening ease – told you. A new paper co-written by researchers at MIT, the University of Ottawa, and Bard College at Simon’s Rock says that Super Mario Bros. belongs to the complexity class PSPACE, meaning it’s more difficult to “solve” algorithmically than the famous traveling-salesman problem or factoring large numbers, which are referred to as NP-hard.

PSPACE-complete problems include fearsome-sounding stuff like the “quantified Boolean formula problem” and, interestingly, certain types of games like sliding block puzzles and the classic board game Othello.

At least, it could be, in theory – according to MIT, the paper doesn’t argue that the actual levels present in the actual game are PSPACE-complete, merely that Super Mario Bros. as a concept, is PSPACE-complete, and that it’s possible to construct problems of that difficulty within the confines of the game. (The proof, apparently, involves a situation with a Spiny that can be bumped to either side of a barrier.)

Broadly, while NP-hard problems are difficult for algorithms to solve, solutions themselves are relatively easy to check – factoring a very large number is hard, but multiplying the factors to get a result is easy. PSPACE-complete problems, on the other hand, are difficult to solve, and difficult to check.

“Figuring out how to complete a fiendishly difficult level of Super Mario Bros. could take a long time, but so could navigating that level, even with the solution in hand,” explains MIT’s announcement.

This discovery makes efforts to create Mario-playing AI – of which there are several - all the more impressive, given the advanced stages that many have reached. YouTuber SethBling created his own AI “breeding” program to create MarI/O, a system that can play a single level of Super Mario World without dying. Tom Murphy’s effort here is actually kind of incredible – it’s worth watching the second installment as well.

Join the Good Gear Guide newsletter!

Error: Please check your email address.

Tags games

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Jon Gold

Network World
Show Comments

Cool Tech

Crucial Ballistix Elite 32GB Kit (4 x 8GB) DDR4-3000 UDIMM

Learn more >

Gadgets & Things

Lexar® Professional 1000x microSDHC™/microSDXC™ UHS-II cards

Learn more >

Family Friendly

Lexar® JumpDrive® S57 USB 3.0 flash drive 

Learn more >

Stocking Stuffer

Plox Star Wars Death Star Levitating Bluetooth Speaker

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?