Slashdot Mirror


Classic Nintendo Games Are NP-Hard

mikejuk writes "You may have have thought games like Super Mario Bros., Donkey Kong, and so on were hard at the time you were playing them, but you probably didn't guess they were NP-hard. Now we have some results from computer scientists at Universite Libre de Bruxelles and MIT Computer Science and Artificial Intelligence Laboratory that many classic games contain within them an NP-hard problem. It has been proven that the following game franchises are NP-hard (PDF): Mario, Donkey Kong, Legend of Zelda, Metroid and Pokemon. At least you now have an excuse for your low scores."

204 comments

  1. Not just nintendo games by Janek+Kozicki · · Score: 3, Interesting

    My favorite NP-hard game is adom. Just try it - see my sig.

    --
    #
    #\ @ ? Colonize Mars
    #
    1. Re:Not just nintendo games by K.+S.+Kyosuke · · Score: 4, Interesting

      Adom may or may not be NP-hard, but first and foremost, it's insanely complex for anyone but a basement gaming zombie. I adore the whole concept, but I don't have the time for playing something like that. The endless stream of "What? The game takes XYZ into account, in addition to all the food, curse, day of the year etc. stuff?" kind of wore me down rather quickly. Now if you excuse me, I'd like to finish eating my uncursed large bat. (Mmm, tastes like chicken.)

      --
      Ezekiel 23:20
    2. Re:Not just nintendo games by Janek+Kozicki · · Score: 2

      I'm not a basement gaming zombie ;) I'm a scientist.

      I'm careful to avoid playing adom more often than once per 2 or 4 years. Otherwise a month is lost.

      --
      #
      #\ @ ? Colonize Mars
      #
    3. Re:Not just nintendo games by Ihmhi · · Score: 2

      Check out Dwarf Fortress. It's an easy game that's fun to play and certainly not in any way addictive! Really!

      HELP ME.

    4. Re:Not just nintendo games by Anonymous Coward · · Score: 0

      There is a very good guidebook which can be found at : http://www.adomgb.info/

  2. Kid Icarus by donotlizard · · Score: 3, Funny

    Kid Icarus for Nintendo is the most difficult game in the history of mankind.

    1. Re:Kid Icarus by kerohazel · · Score: 5, Funny

      Harder than Battletoads? I think not.

      --
      Skype is too convoluted... Now I'm reverse-engineering the Kyoto Protocol.
    2. Re:Kid Icarus by tepples · · Score: 1

      Is Kid Icarus harder than Super Mario Frustration? (Video; swearing; mute if at work)

    3. Re:Kid Icarus by lambent · · Score: 3, Insightful

      There's a pretty big difference between "hard" and "fundamentally broken".

      Battletoads was hard because it was designed poorly.

    4. Re:Kid Icarus by pecosdave · · Score: 1

      I never could get past that lava jet ski level!

      I could whoop up all the way there and I kept getting just a little bit further, but then, nothin.
      I'll bet the final baoss wasn't that hard!

      --
      The preceding post was not a Slashvertisement.
    5. Re:Kid Icarus by Anonymous Coward · · Score: 5, Funny

      There's a pretty big difference between "hard" and "fundamentally broken".

      Battletoads was hard because it was designed poorly.

      Sounds like SOMEONE'S still bitter they couldn't even beat the Turbo Tunnel.

    6. Re:Kid Icarus by Anonymous Coward · · Score: 0

      I wish I could find a working link to the actual game mod. The megaupload link is dead.

    7. Re:Kid Icarus by Anonymous Coward · · Score: 0

      Not nearly as hard as beating spy hunter?

    8. Re:Kid Icarus by Anonymous Coward · · Score: 0

      How is it difficult? The gameplay is relatively simplistic. One-way scrolling either up or sideways, except in the fortresses which turn into a Zelda-ish one-room map deal. There doesn't appear to be a time limit, enemies generally always appear at the same spots, rooms are always in the same spot AND have the same contents, and you can grind early on for points and hearts/money. The former is a good thing, as you can get an extra life block at the end of a stage if you cross specific point thresholds. Also, you can buy as much as you can afford in the fortresses, so you can stock up on items once you find decent rooms to earn hearts from.

      So take it slow, get a feel for how the enemies move, and pick up a feather or two just in case you slip and fall off the bottom of the screen.

      If it helps, read about the mechanics of the Chamber of Pots. There is a set # of places the God of Poverty can be, and a 100% successful way of determining that (based on which level you are on) one. If you get his pot last, he instead becomes a valuable item.

    9. Re:Kid Icarus by Hatta · · Score: 2, Insightful

      Ahem. Silver Surfer.

      --
      Give me Classic Slashdot or give me death!
    10. Re:Kid Icarus by gauauu · · Score: 3, Informative

      I never could get past that lava jet ski level!

      I could whoop up all the way there and I kept getting just a little bit further, but then, nothin.
      I'll bet the final baoss wasn't that hard!

      No, the final boss level (and final boss) were as tough as the rest of the game. I spent a couple months in college where I dug out my old nes and vowed to beat Battletoads (on the real thing, with no save state cheating). It was incredibly painful. It was hard all the way through. The only real hope you have is juggling the vultures on the 2nd level to gets tons of 1-ups.

    11. Re:Kid Icarus by PRMan · · Score: 1

      Not true. My friend solved it. That alone makes it easier than SunSoft's Fester's Quest (which he never solved) or Batman (which he also solved somehow once, he's the only person I knew that solved it).

      --
      Peter predicted that you would "deliberately forget" creation 2000 years ago...
    12. Re:Kid Icarus by elrous0 · · Score: 4, Insightful

      Desert Bus is WAY harder to beat.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    13. Re:Kid Icarus by PRMan · · Score: 1

      C'mon. I solved Battletoads. It was hard, but not that hard.

      --
      Peter predicted that you would "deliberately forget" creation 2000 years ago...
    14. Re:Kid Icarus by icebraining · · Score: 1

      Syobon Action is hellish too, although mostly because the traps are hidden.

    15. Re:Kid Icarus by TheCycoONE · · Score: 1

      Did spy hunter have an ending? I don't think I ever made it past fall.

    16. Re:Kid Icarus by razorh · · Score: 1

      How about Target Earth that was for the Sega Genesis? I read a review on it in one of those gaming mags in the early 90's that gave it an 'Impossible' rating (the only one I'd ever seen). It took my roommate and I hours just to get through the first level (side scrolling shooter type game).

    17. Re:Kid Icarus by Surt · · Score: 1

      Harder than QWOP?

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    18. Re:Kid Icarus by cekander · · Score: 1

      I can't even beat Battletoads with game genie. Other notable feats:

      • - Landing in Topgun
      • - Winning in Days of Thunder
      • - Beating Double Dragon (one)

      They just don't make em like they use to.

    19. Re:Kid Icarus by MobileTatsu-NJG · · Score: 2

      Battletoads was hard because it was designed poorly.

      I'm not sure what your basis for that statement is. Every time I've lost at that game the Toads had done everything I had told them to do. I lost because I didn't order them properly.

      There is a distinction there. I've played MANY games where the design really was poor, it was the fault of the game that I couldn't succeed. Maybe jumps had to be too precise. Maybe your path was obscured and required luck to find. Maybe the button presses didn't register at all. I'd go into more detail, but instead I'll suggest finding the 'Angry Video Game Nerd' videos on the internet. (cinemassacre.com) He shows actual poorly-designed games. It's entertaining, although filled with foul language. I will be up front and tell you I am a fan of the show.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    20. Re:Kid Icarus by NJRoadfan · · Score: 1

      Battletoads was fairly well programmed by the folks at RARE. Some of the hit detection was off, but otherwise a decent game. I have read it was intentionally made hard to complete to encourage people to buy vs. renting the game. Another game that comes to mind that was well programmed and impossible to beat (mostly because it was long and lacked a save feature) is Blaster Master.

    21. Re:Kid Icarus by digitalsolo · · Score: 1

      I have only beaten Battletoads with save states on an emulator. The stupid level with the snakes always stopped me up.

      I have landed in Top Gun, maybe 2-3 out of 5000 tries. Never won in Days of Thunder, have beaten Double Dragon though.

      What about Boy and his Blob? I could never figure out WHAT to do to beat that game.

      --
      Just another ignorant American.
    22. Re:Kid Icarus by digitalsolo · · Score: 1

      I have wasted many ours on Fester's Quest. I think it may be impossible.

      --
      Just another ignorant American.
    23. Re:Kid Icarus by digitalsolo · · Score: 1

      I may have wasted our hours, but I intended to simply say hours. Ugh, long day.

      --
      Just another ignorant American.
    24. Re:Kid Icarus by merxete · · Score: 0

      Even with save states on an emulator I gave up. I got past the snakes, but then I remember rolling around the walls with some vacuum cleaner like device. It was like "Seriously? This game is trying to piss me off. I don't have the patience for this."

      Boy and his Blob. Lol. Thinking back on it, it seems like an underrated game. You feed this blob, what was it, jelly beans? and different things happen? And let's not forget blaster master, the technodrome level in TMNT, marble madness, and level 20 tetris. There are also those who claim to have beaten contra with only one life. I've never seen it done.

    25. Re:Kid Icarus by DemonGenius · · Score: 2

      Teenage Mutant Ninja Turtles 1 for NES. Most of the game was pretty easy, but once you get to the last few levels, you pretty much have to utilize bugs in the game just to proceed. Same thing for beating Big Boss in Metal Gear.

    26. Re:Kid Icarus by Gotung · · Score: 2

      You clearly haven't played any non-lemmings titles by Psygnosis

    27. Re:Kid Icarus by jeffasselin · · Score: 1

      Impossible, what? I've finished Blaster Master a couple times.

      --
      If he explores all forms and substances Straight homeward to their symbol-essences; He shall not die.
    28. Re:Kid Icarus by jeffasselin · · Score: 1

      You've never seen the SECOND jet ski level then?

      It was harder even still than the first one.

      --
      If he explores all forms and substances Straight homeward to their symbol-essences; He shall not die.
    29. Re:Kid Icarus by jeffasselin · · Score: 1

      I concur, I've finished Kid Icarus multiple times, without dying even. I also finished a bunch of those games without dying including Zelda, SMB1, Megaman 1 and 2.

      Ghosts'n Goblins was another tough mofo. I remember finishing it once, and then when I saw the "You must do it again" screen, I gave up.

      But Battletoads I finished exactly once, and it was quite an ordeal. Really the hardest game I ever finished.

      --
      If he explores all forms and substances Straight homeward to their symbol-essences; He shall not die.
    30. Re:Kid Icarus by gorzek · · Score: 1

      Fester's Quest is also notorious for being incredibly difficult to beat. (Incidentally, same engine as Blaster Master.)

    31. Re:Kid Icarus by captjc · · Score: 1

      Pfft... Try Smoke and Mirrors on Impossible difficulty.

      I dare you to beat that.

      --
      Slow Down Cowboy! It's been 1 hour, 47 minutes since you last successfully posted a comment
    32. Re:Kid Icarus by Chris+Burke · · Score: 1

      Without the grenade-pause bug? That'd be very impressive actually.

      --

      The enemies of Democracy are
    33. Re:Kid Icarus by Anonymous Coward · · Score: 0

      How is IWBTG not in this discussion?

    34. Re:Kid Icarus by thetoadwarrior · · Score: 1

      I couldn't for the life of me get past level 3 or so on Battletoads but more or less strolled through Blaster Master. Maybe I had the right skills for that particular game but it wasn't that hard at all imo.

    35. Re:Kid Icarus by thetoadwarrior · · Score: 1

      Double Dragon in the arcade wasn't too bad. I do agree the NES version seemed harder for some reason and I do agree Top Gun was definitely a rage inducing game.

    36. Re:Kid Icarus by karnal · · Score: 1

      I found top gun to be easy as hell. Peg your plane in a corner through the level. Landing was hard but not impossible, I would say I failed at landing maybe every one in six?

      --
      Karnal
    37. Re:Kid Icarus by Icegryphon · · Score: 1

      All these replies, so many people will never be the Boshy.

    38. Re:Kid Icarus by Cowclops · · Score: 1

      Landing in top gun is actually really easy, the thing most people don't realize is that you have to hold and release the button to speed up and keep your speed around 250 mph. It'll tell you to speed up if you're too slow and it'll tell you to slow down if you're too fast, so you sorta have to pulse-width-modulate your speed in between. The up/down/left/right instructions are pretty self explanatory, but on top of the directions you really just have to point at the aircraft carrier deck. Just like a real plane. Except way easier. Disclaimer: I can land a real plane, but that aside I still don't think its that hard to land in top gun. Its just not clear on what you're supposed to be doing to succesfully land.

    39. Re:Kid Icarus by manwargi · · Score: 1

      I couldn't land in Top Gun, and I couldn't refuel either. As far as I was concerned back then, there were no levels past the second one, it was akin to SkiFree with its yeti.

    40. Re:Kid Icarus by Cat_Herder_GoatRoper · · Score: 1

      I could land in Topgun. Took many crashes before mastering.

    41. Re:Kid Icarus by Cat_Herder_GoatRoper · · Score: 1

      Had a NES and played Mario when I was 25. My parents came to visit and my Dad really liked the game, but after many deaths Dad refered to Mario as "Mario the Cock Sucker" He was funny to watch as he would move his entire body to make Mario jump.

    42. Re:Kid Icarus by pecosdave · · Score: 1

      What can I say?

      I only rented it.

      --
      The preceding post was not a Slashvertisement.
  3. Quote from a friend while playing NES games: by oodaloop · · Score: 1

    "Isn't it great we can usually beat an 8-bit video game?"

    This was the early 2000s on an ancient Nintendo box.

    --
    Tic-Tac-Toe, Global Thermonuclear War, and relationships all have the same winning move.
  4. Scoring is NP-hard by DigiShaman · · Score: 1, Interesting

    I thought all games were NP-hard. That is, the path to optimal scoring is dynamic based on random events (true or simulated random). For example in a standard shoot-em-up, you're always thinking about the order in which kill an object and in what particular order all while avoiding being shot at.

    --
    Life is not for the lazy.
    1. Re:Scoring is NP-hard by fuzzyfuzzyfungus · · Score: 2

      My understanding, admittedly layman's, is that a lot(all of?) the early console systems were hardware constrained as hell and certainly didn't have the luxury of a hardware RNG or even many peripheral interfaces with the unpredictable outside world, so their games tended to not only lack randomness; but rely on techniques for faking randomness sufficiently rudimentary that "luck manipulation" becomes viable...

    2. Re:Scoring is NP-hard by Surt · · Score: 1

      There are almost no games where it's true random. It's pretty universally simulated random, and in fact poorly simulated random because quality PRNGs are typically slow. The advent of MT a few years ago at least improved the quality, but it's still PRNG.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    3. Re:Scoring is NP-hard by NJRoadfan · · Score: 1

      One situation where then "non-randomness" comes to mind is bowling games. Once you figure out the right settings (angle and speed, some of the fancy games let you choose ball weight and alley slickness too), you can pretty much score a perfect game every time by just repeating the same settings each frame.

    4. Re:Scoring is NP-hard by VortexCortex · · Score: 1

      My understanding, admittedly layman's, is that a lot(all of?) the early console systems were hardware constrained as hell and certainly didn't have the luxury of a hardware RNG or even many peripheral interfaces with the unpredictable outside world, so their games tended to not only lack randomness; but rely on techniques for faking randomness sufficiently rudimentary that "luck manipulation" becomes viable...

      It's my understanding as a game developer, that if you need any sort of networked multi-player or demo record and (instant) playback then your engine needs to be fully deterministic. That is: if anything is random it's pseudo-random. Eg: Doom used a pre-computed look-up table for its "random" number generator.

      Furthermore since: UpdatePhysics( elapsedMillisec ); UpdatePhysics( elapsedMillisec );
      Is not guaranteed to produce the same results as UpdatePhysics( elapsedMillisec * 2 );
      many of today's games run their physics and game logic at a fixed interval. A discarded interpolation between two intervals can provide a fractional time step for a rendering frame, or to implement client-side prediction (latency compensation).

      There are other techniques, but they must be deterministic or else desynchronisation occurs. Ergo: If determinism is your basis for likelihood of NP-hard determinations, the candidates are still widely produced today despite our advances in hardware randomness generation.

      Don't forget that there is a human element in a game: It's not possible to determine the precise timing of actions or reactions a human will supply... Depending on the game logic this may cause cascading effects or feedback logic loops -- the basis of cybernetics, which is typically a non trivial field (even less trivial when a human mind is part of the loop).

    5. Re:Scoring is NP-hard by russotto · · Score: 1

      One situation where then "non-randomness" comes to mind is bowling games. Once you figure out the right settings (angle and speed, some of the fancy games let you choose ball weight and alley slickness too), you can pretty much score a perfect game every time by just repeating the same settings each frame.

      Works in real life, too -- not with real bowling, but with the arcade games which have a bowling ball running on a track with a hill, the idea being to shove the ball over the hill and have it get stuck on the other side. Once you've dialed yourself in, you can score tickets consistently until you get bored.

      For bowling games, maybe it would be sufficient to simulate the effects of scuffing of the ball and alley wax transferred to the ball.

  5. Buzz by Anonymous Coward · · Score: 3, Insightful

    Is "NP-hard" the next buzz word?

    1. Re:Buzz by TheVelvetFlamebait · · Score: 5, Insightful

      No, NP-Hard cannot be, nor ever become, a buzz word, because NP-Hard has a clear, well-defined meaning. Buzzwords are defined by their own lack of definition, making them perfect for marketing and generally impressing people without saying anything meaningful.

      --
      You know, there is a difference between trolling and pointing out the flaws in your reasoning. Just saying.
    2. Re:Buzz by Anonymous Coward · · Score: 1, Insightful

      It has a well-defined meaning for the people who understand it.

    3. Re:Buzz by robthebloke · · Score: 5, Funny

      Where have you been for the last 5 weeks? Didn't you get the tweet? The term "NP-hard" has been superseded by "NP-cloud-based-social-media-hipster". Keep up!

    4. Re:Buzz by Anonymous Coward · · Score: 0

      No, that would be , Sustainable Quantum Cloud.

    5. Re:Buzz by Anonymous Coward · · Score: 2, Insightful

      Should NP-hard become a buzzword, it would be first spread by people who understand it badly, and then by people who have completely misunderstood the idea but think it's neat. It doesn't matter that it has a precise technical meaning, if only a few people understand that meaning. In fact many buzzwords start out being well defined in some community of experts, but whatever meaning there was to begin with is quickly diluted to another feel-good word associated with a vague cloud of ideas.

    6. Re:Buzz by jellomizer · · Score: 4, Insightful

      Buzzwords have a well defined meaning... They just abuse them. Using them in cases where they shouldn't be used.

      For example
      Synergy: Is when the output of a team or groups activity is greater then the sum of each member.
      This happens when you are working together and you come up with a solution together that no one by themselves would come up.

      The word had been misused because of its closeness to Synchronous and Energy and used more to express things working well together.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    7. Re:Buzz by Anonymous Coward · · Score: 0

      I desperately whish that it would become an often used word in gaming magazines. It's about fscking time that we'd get actual challanges from games again, instead of interactive cutscenes where all kind of shit happens that doesn't affect my play.

      Once upon a time gaming was for nerds, now it's for everyone. Not that gaining acceptence is any problem for me, but what is a problem for me is that everything is so damn fscking easy and boring in terms of an actual challenge with rules, instead of a button pushing cinema experience. Not that cutscenes and movie stuff in Metal Gear Solid sucks (it's awesome), but some people clearly didn't get it. What they did get where the sales figures.

      Therefore I still play most oldskool games, because the majority of them sucks balls and can only still theoretically be labled as being a game. /rant

    8. Re:Buzz by icebraining · · Score: 1

      So did REST, if you read the thesis, but it didn't help.

    9. Re:Buzz by Chris+Burke · · Score: 5, Funny

      Where have you been for the last 5 weeks? Didn't you get the tweet? The term "NP-hard" has been superseded by "NP-cloud-based-social-media-hipster". Keep up!

      An "NP-cloud-based-social-media-hipster" would be proof that P=NP, since you're saying this cloud-based-social-media-hipster is in NP(Non-Pretentious), when it has already been proven that all hipsters are in P.

      --

      The enemies of Democracy are
    10. Re:Buzz by Anonymous Coward · · Score: 0

      I read through the PDF files of the test results, the wikipedia definition of NP-hard, and than the PDF file test results again.

      I still do not understand what NP-Hard is and how it applies to games.
      Maybe because it's Friday afternoon or maybe I am getting old.

      Where's the simple easy stories I don't have to think about like the iPad or the US government taking away my rights and giving them to corporations? It's Friday afternoon man!

    11. Re:Buzz by phantomfive · · Score: 4, Insightful

      This paper is as close to marketing as science ever comes. The use of the words 'NP-Hard' and "video games" were chosen specifically because they sound impressive, not because they've shown anything useful. They came up with some way to connect those two words in a paper (by morphing Mario, and defining it in a way that never entered any cartridge. If you have a finite number of paths through Mario in an arbitrarily large map, and some choices make the game impossible to beat because you get stuck, then yes you have an NP-Hard search problem. But there is no Mario level like that, and never will be because it would be boring).

      It also fulfills the other requirement of marketing, that it makes me feel dumber after reading. This super-annoying movie comes very close to showing the method used in this proof. It solves a problem that no gamer would ever face, and no level designer would ever face either, unless his method was to randomly drop blocks on the screen, rearrange them into chunks of which some are impossible to pass, and then rearrange those randomly. Can you see how this has absolutely nothing to do with the game we call Super Mario Bros?

      In other words, the authors saw the attention people got for using the word "NP-Hard" in relation to Tetris (look! Made it on BBC!), and though "wow, maybe if we use the word NP-Hard in relation to Super Mario Bros, we can get on the BBC too!

      There is absolutely nothing novel about this result, and in fact, it might be a homework problem you would give to students in an undergraduate class on computer theory. Given the right introduction, the students could easily do it. It is a blatant attention whore attempt.

      --
      "First they came for the slanderers and i said nothing."
    12. Re:Buzz by Anonymous Coward · · Score: 0

      Just imagine a beowulf cluster of those..

    13. Re:Buzz by loufoque · · Score: 0

      Telling whether NP-hard is a buzz word is itself NP-hard.

    14. Re:Buzz by Anonymous Coward · · Score: 0

      NP-Hard has a clear, well-defined meaning.

      Care to explain to us, mere mortals, what the fuck "NP-hard" is supposed to fucking mean?

    15. Re:Buzz by pieisgood · · Score: 1

      This is what happens when you introduce concepts of computability theory and complexity theory to individuals not truly interested in math. After taking computability at top 20 university... the way they introduce "proofs" is so soft as to be meaningless. Then they continue to use the same text book in the graduate course on complexity theory... so annoying. Then we get things like the "research" in the article.

      --
      Eat sleep die
    16. Re:Buzz by Tyr07 · · Score: 1

      You have zero lives left.
      You jump, you miscalculate. The path you take, takes you down a hole.
      You die.
      It's game over, you have to start all over.
      The path you have chosen made the level unbeatable.

      NP-Hard.

    17. Re:Buzz by kelemvor4 · · Score: 1

      Negative, ghost rider. The pattern is full!

      http://dictionary.reference.com/browse/buzzword

      buzzword [buhz-wurd] noun
      a word or phrase, often sounding authoritative or technical, that is a vogue term in a particular profession, field of study, popular culture, etc.


      It's definitely a buzzword on Slashdot lately... 3 articles in just over 30 days proclaiming "whateverthefuck" is np-hard.
      Tomorrow we'll probably read about Ron Jeremy's cock being np-hard.

    18. Re:Buzz by VortexCortex · · Score: 1

      Is "NP-hard" the next buzz word?

      Ah, I see you're still using the term "buzz word", which itself is one.

    19. Re:Buzz by kaatochacha · · Score: 1

      That comment is soooo totally NP-Hard!

    20. Re:Buzz by phantomfive · · Score: 1

      They eliminated that possibility by assuming a perfect player that never miscalculates.

      --
      "First they came for the slanderers and i said nothing."
    21. Re:Buzz by phantomfive · · Score: 1

      Yeah actually, this really depressed me, because the paper was from MIT! Is this the state-of-the-art of CS research? They really have nothing better to do than write useless proofs about old video games?

      --
      "First they came for the slanderers and i said nothing."
    22. Re:Buzz by Anonymous Coward · · Score: 0

      "In other words, the authors saw the attention people got for using the word "NP-Hard" in relation to Tetris"

      ---Good one. One of the authors is one of those people. He must have been jealous of himself.---

  6. solstice by Anonymous Coward · · Score: 0

    Solstice may be the most difficult game ever

    1. Re:solstice by olof_k · · Score: 1

      Oh yes! I failed to beat it even with the cheat code that gave you unlimited lives. I think even the cheat code itself was hard to get right

    2. Re:solstice by gorzek · · Score: 1

      The cheat code only gives you something like 40 lives, not infinite. (I still have this game and play it, but yeah, never once beat it...)

  7. Castlevania by logical_failure · · Score: 2

    Castlevania was harder than Mario, Zelda, or Metroid -- especially the Grim Reaper fight. If you didn't have triple-shot boomerangs, when the Reaper started spamming you with Scythes you were in trouble.

    Battletoads was another one that was brutally hard...

    I saw where someone thought the Mega-Man games were hard... but those always seemed easy to me.

    --
    Sock Puppets: damn_registrars=pudge_confirmer=jimmy_slimmy=raiigunner=cml4524=a_klavan=red4men=ronpaulisanidiot
    1. Re:Castlevania by JDG1980 · · Score: 1

      Castlevania was harder than Mario, Zelda, or Metroid -- especially the Grim Reaper fight. If you didn't have triple-shot boomerangs, when the Reaper started spamming you with Scythes you were in trouble.

      Or you could use Fire Bombs (aka Holy Water) with the Double or Triple Shot. If you aim at the Reaper's platform as he lowers from the ceiling and keep throwing there, he will get stuck and die before he can even create a single scythe.

      Castlevania is actually a pretty easy game once you've memorized what happens, because there is very little randomness. Although I can't do it every time, I can often get to the 6th floor without getting hit, and on two occasions I've managed to beat the game without taking any hits.

    2. Re:Castlevania by gorzek · · Score: 1

      I'm a pretty crappy gamer and I agree, the Megaman games weren't that hard. I beat the first three without really putting much effort into it.

    3. Re:Castlevania by Anonymous Coward · · Score: 0

      you know, if you had a real job you could afford a newer gaming system and you wouldn't have to still be blowing on the NES carts your mom gave you back in the 80s. and no, trolling slashdot is not a real job, dumb_registrars.

      logical_failure = damn_registrars

  8. Fantastic by Anonymous Coward · · Score: 4, Funny

    Now Billy Mitchell's ego can finally get a much needed boost.

  9. What? by Anonymous Coward · · Score: 2

    I Honestly don't understand what NP refers to.

    1. Re:What? by who_stole_my_kidneys · · Score: 2

      was about to say the same thing. The Wikipedia entry makes my head hurt, like watching 'Lost' for the first time in the middle of the 2nd season, i throw my hands up in the air and say "WTF?".

    2. Re:What? by Anubis+IV · · Score: 3, Informative

      For an intro to NP and NP-hard, might I suggest Wikipedia's entry on NP-hard? You get to stuff like this in any classes that cover computational complexity, such as coursework covering algorithms. NP comes up every few weeks on Slashdot since it's an interesting-ish topic for most of us.

    3. Re:What? by Quiet_Desperation · · Score: 1

      Post above yours: "N****** pussy"

      Yours: "was about to say the same thing."

      Unfortunate alignment, but I had to chuckle.

      To compensate: http://en.wikipedia.org/wiki/NP-hard

    4. Re:What? by Oxford_Comma_Lover · · Score: 2, Informative

      "Not polynomial."

      It refers to the complexity of a computing problem being significant enough that it cannot be guaranteed to be solved in polynomial time.

      So doing an operation on a two digit number is easy, but as the number of digits goes up, and you try to do the same operation on the bigger numbers, it gets harder at a rate which is greater than polynomial with the size of the input.

      It's a little more complex than that, but that's basically it.

      --
      -- IANAL, this isn't legal advice, and definitely isn't legal advice for you. Also, Squee!
    5. Re:What? by Anonymous Coward · · Score: 1

      NP is a set of problems for which we can efficiently (in no worse than polynomial time) verify an answer.
      P is a set of problems for which we can efficiently find an answer.

      Right now, no one knows if those are the same set of problems. Most people think that, in fact, there are problems that are easy to verify, but hard to solve. In a particular flash of brilliance, Stephen Cook and Leonid Levin proved that there was one problem that encapsulated all the difficulty of finding solution to problems that are in NP but not necessarily in P (basically, they proved that if you can solve this problem efficiently, you can solve any other problem in NP efficiently). It turns out that there are a whole bunch of different ways of representing this problem, and all of those different representations are called NP-complete. If you can solve an NP-complete problem simply, you prove that P = NP, and if you're smart about it, it might make you rich. On the other hand, people a lot smarter than you have been trying to do that for a long time, and no one has figured it out, so that's pretty unlikely.

      NP-hard is the set of problems that are at least as hard as the hardest problems in NP. It's not a particularly useful definition, because it includes both problems in NP-complete (which we can actually use), and problems that are undecidable (Alan Turing proved that there are problems for which no solution can exist--it's a pretty elegant proof). Basically, saying that something is NP-hard is the same thing as saying that trying to solve the problem is infeasible--just with a lot more math than you might otherwise say that.

    6. Re:What? by SorcererX · · Score: 3, Informative

      NP is "Nondeterministic polynomial", not "Not polynomial."

      --
      Any sufficiently advanced technology is indistinguishable from magic.
    7. Re:What? by Anonymous Coward · · Score: 0

      Please return your CS degree, if you ever had one.

    8. Re:What? by Sqr(twg) · · Score: 2

      No, NP stands for "nondeterministic polynomial time". Informally, it means that the problem can be solved in polynomial time if you are really, really lucky.

    9. Re:What? by TuringTest · · Score: 1

      Wrong. N=Non-deterministic, like the Turing machine.

      --
      Singularity: a belief in the "God" idea with the "demiurge" relation inverted.
    10. Re:What? by Oxford_Comma_Lover · · Score: 1

      Yes, you're correct, my bad. Although for a first-order approximation, it doesn't matter, because people today generally aren't dealing with nondeterministic machines. The distinction probably doesn't matter unless you're writing a paper about it or the world changes radically.

      --
      -- IANAL, this isn't legal advice, and definitely isn't legal advice for you. Also, Squee!
    11. Re:What? by Surt · · Score: 2

      Here's a slightly inaccurate explanation that will hopefully give you the gist:

      P problems are easy to solve with computers. The number of operations required to solve them can be described by some polynomial, for example for a problem of size X, perhaps X-squared steps. In this example, a problem of size 100 would take 100-squared = 10,000 computer operations. Virtually any modern computer can do 10,000 operations faster than you can blink.

      NP problems are hard to solve with computers. The best known computer solution to such a problem might typically take exponentially many computer operations (for example, if the problem has X elements, it might take 2 to the power X operations to solve). In this example, a problem of size 100 would take 2 to the 100th = 1,267,650,600,228,229,401,496,703,205,376 operations. This would take the fastest supercomputer on earth more than 4 million years to solve.

      NP-hard problems are even worse, for reasons which are difficult to explain without really getting into the theory.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    12. Re:What? by FrangoAssado · · Score: 1

      [I'm replying in the hopes of saving someone else from confusion, I mean no offense. What you're describing is exactly the way it was first explained to me -- but it's not only wrong but wrong in a way that leads to endless confusion]

      Although for a first-order approximation, it doesn't matter, because people today generally aren't dealing with nondeterministic machines.

      No, please don't explain it this way. NP by definition contains P, so no amount of approximation will make it mean "non-polynomial". If it meant anything like "non-polynomial", then P=NP would be trivially false, by definition.

      A problem is NP if you can check if a candidate solution is right in polynomial time. Note that this includes any problem that you can solve in polynomial time (i.e., in P). The stuff about "non-deterministic machines" is just a way to formalize that notion (you can think of it as something like: "a nondeterministic machine can check all possible solutions at the same time, so it can solve any NP problem in polynomial time").

      The problem of deciding if P=NP is basically asking: is there any problem for which we can, in polynomial time, check if a solution is right but not find a solution?

    13. Re:What? by basscomm · · Score: 4, Funny

      I Honestly don't understand what NP refers to.

      Nintendo Power.

      --
      http://crummysocks.com
    14. Re:What? by Anonymous Coward · · Score: 0

      YES

    15. Re:What? by Anonymous Coward · · Score: 0

      Technically that's right, but it's hard for people to understand. When you say it can be solved, you really just mean that if you have a correct solution(say you randomly generated it - and are therefore really lucky) you can verify that it is correct in polynomial time.

    16. Re:What? by Anonymous Coward · · Score: 0

      Ok, everybody her is making this more difficult than it really is. Nondeterministic Polynomial(NP) means that if you had a (potential) solution to the problem, you could verify it in polynomial time(say N is the problem size -> it takes n^2 or n^100+1.5*n^10...some polynomial based on n operations to complete)

      Generally we solve these sort of problems by rolling a bunch of dice(where the upwards facing numbers represent a potential solution) several times and checking each solution(say 10 times so 10*n^2).

    17. Re:What? by Bensam123 · · Score: 1

      I like how some people are like 'WTF is NP-Hard' and people who can explain it only do so using their native jargon, still in a way that's not helpful to the average joe.

    18. Re:What? by Anubis+IV · · Score: 1

      How else are you going to explain it other than using jargon? It's a mathematical concept based on other mathematical concepts, and putting it into layman's terms would likely conflate it with similar concepts. It refers to something very, very specific, and that specificity would probably get lost without the nuance offered by jargon.

      Wikipedia does a good job of linking you to all of the relevant and related concepts, so if you aren't able to track with the first page you get linked, go to the ones that it builds on and start there, then work your way back to the page as you grok everything.

    19. Re:What? by Bensam123 · · Score: 1

      A operational definition... or, you know, a metaphorical comparison.

    20. Re:What? by Sqr(twg) · · Score: 1

      "Hard to understand" is preferable to "wrong", though. Saying that NP stands for "Not Polynomial" implies that you have disproved P =
      NP.

    21. Re:What? by Lotana · · Score: 1

      It is a mathematical concept!

      The closest to operational definition is already covered by Wikipedia. The article there is really the most approchable piece on covering it that I have yet found.

      As for metaphorical comparison: It is nearly impossible to come up with those for complex mathematics without completely butchering up the concept. Especially since

      There are things in life where analogies are just inadequate. If you are trully interested, spend the time reading Wikipedia and the links. If you don't give a shit to understand it, then just think of it as a mathematical notation to categorize complexity level of problems.

  10. pointless by khipu · · Score: 4, Interesting

    These games aren't "NP-hard" because they are fixed size and fixed levels. Complexity results show you nothing about the difficulty of individual instances.

    What is "NP-hard" is some generalization of these games chosen by the authors, with a particular chosen outcome (e.g., maximum score). Whether that generalization is still a good game, or even the same game, is questionable.

    1. Re:pointless by tepples · · Score: 1

      What is "NP-hard" is some generalization of these games chosen by the authors

      Isn't a generalization like this realizable using ROM hacking tools such as Mario Improvement or Lunar Magic?

    2. Re:pointless by TheVelvetFlamebait · · Score: 1

      Another possible example: the best way to collect all pickups in Metroid while minimising the encounters hazards (and the chance of getting killed).

      --
      You know, there is a difference between trolling and pointing out the flaws in your reasoning. Just saying.
  11. Tool-assisted speedrun by tepples · · Score: 2

    Battletoads was another one that was brutally hard

    Is it hard to TAS, or just demanding in reaction time and memorization? Because the article is assuming tool-assisted speedrun conditions: "Indeed, the clicking of the button at the right time is factored out of these proofs of complexity - these are results that apply to a perfect player with infinite speed and reaction times of zero."

    1. Re:Tool-assisted speedrun by Anonymous Coward · · Score: 0

      The latter for what most people say are the hardest parts of the game. Notably, the Jet Bike parts and the... unicycle thing. In both, it's you versus the environment with a VERY tight timeline (the latter enforced by a Big Ball 'O Death right on your tail). So you have to have precision timing, pretty much knowing when to move up, down, jump, etc. so that you have enough time to actually make the next move. With memory and no randomness, it should be trivial for a TAS to work in those sections; I can't recall if there's any parts that have you actually fighting enemies while on the bikes.

      Most likely, a TAS would also still work in the combat sections, if you always started and ended with the same exact memory state (such as with an emualtor, to make sure there's no actual randomness.)

  12. NP-hard is overrated by Anonymous Coward · · Score: 1

    Almost any interesting game will be NP-hard. Mostly only boring games will be NP-complete though.

    NP is the second-most boring class of problems (and it might even be the most-boring class, if NP=P).

    Look into some lecture of AI-planing, most problem solving problems are EXP(EXP())- complete, and if you want optimal solutions, it might even get harder....

    1. Re:NP-hard is overrated by slew · · Score: 2

      Almost any interesting game will be NP-hard. Mostly only boring games will be NP-complete though.

      NP is the second-most boring class of problems (and it might even be the most-boring class, if NP=P).

      Look into some lecture of AI-planing, most problem solving problems are EXP(EXP())- complete, and if you want optimal solutions, it might even get harder....

      Even more interesting than an NP-hard game is a game that simulates real life. With NP-hard game you know there is an optimal solution and you usually get a chance to try it over and take another decision path if you fail (even if you can't verify the optimality of your decision in polynomial time). In games that simulate real life, you know that you aren't playing optimally, and you don't get to try again and make another different decision, so NP-complete may be the third-most boring class of problems. As a simple example, take the secretary problem. Of course if you "replay" the secretary problem, you can get the optimal result (basically a P-problem with order 1), but if you can't, well isn't that more interesting?

      On the other hand maybe such a game would be so interesting that it's boring (too much like real life, not escapist enough). Which leaves open the other possiblity that a game can be so boring, that it can be made interesting again. Say like a favorite drinking game, or playing inverse checkers for example.

  13. I'm sure ... by gstoddart · · Score: 3, Informative

    I'm sure I've seen this before. Ahh, yes here it is, almost two years ago.

    I guess not the exact same thing, since the last story didn't explicitly mention Donkey Kong ... but certainly the NP-hard part has been discussed for a while.

    --
    Lost at C:>. Found at C.
    1. Re:I'm sure ... by maxwell+demon · · Score: 1

      Well, there also was recently a story about physics being proven NP hard.

      Now we only need a way to translate physics questions into games, put them onto gaming servers, and let the gaming community solve them for us. They'll even pay us for solving the problems! :-)

      --
      The Tao of math: The numbers you can count are not the real numbers.
  14. Pfft, they were... by Anubis+IV · · Score: 5, Insightful

    They were "Nintendo hard" long before anyone realized they were NP-hard, and that's a much more meaningful measure for difficulty of video games on a practical level.

    1. Re:Pfft, they were... by medv4380 · · Score: 2

      I always used "Mega Man Hard"

    2. Re:Pfft, they were... by GameboyRMH · · Score: 3, Insightful

      Better than "80's arcade hard" 8-(

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    3. Re:Pfft, they were... by Anonymous Coward · · Score: 1

      As long as you mean the first one in the series, I agree. The second one was much easier, and the third one, with the addition of the various flavors of Rush and the new slide move, was a complete joke. Not to brag, but I completed MM3 the second day I owned it. I remember being pretty disappointed considering I spent $50 on the damn thing when it came out (about $80 in today's dollars, take that all you kids that bitch about the cost of Xbox 360 games!).

      Didn't really care for the 4th one, and I discovered girls before I could ever get around to giving it another whirl, as well as try any of the subsequent ones. Perhaps I'll break out the emu and give it another shot...

  15. No, you don't have an excuse by Chemisor · · Score: 5, Interesting

    Whether a problem is NP-hard has nothing to do with it being hard for you. NP is hard only for computers, because they are restricted to brute force search for the solution. As a human being, you use your intuition to probabalistically arrive at a likely solution instead of using a logical process to arrive at an exact and perfect solution. People do not care much about absolute knowledge, which is the province of science; we care about practical knowledge, which is the province of engineering. For example, the infamous travelling salesman problem is NP-hard, which makes it impossible for a computer to come up with the optimal solution in a predictable amount of time. However, in real life this has minimal utility because the difference between the optimal solution and the "good enough" solution that millions of travelling salesmen come up with every day is likely not financially significant. This is true in most everyday situations: we simply don't care if the solutions we use are the best available, only that they are the best we can think of in a reasonable amount of time.

    This is not to say that we don't need the absolute knowledge that science provides; in many cases it does indeed lead to the practical knowledge that improves our lives. But because most absolute knowledge has no useful applications, it does make sense to have a lot fewer scientists than engineers.

    1. Re:No, you don't have an excuse by Whatsisname · · Score: 4, Insightful

      This post isn't correct. It's just as hard for humans as computers, if you are searching for the optimal solution.

      You're claiming it's easier for humans because we don't actually need the optimal solution, which changes the problem.

      When you change the terms of the problem to accept a "good enough" solution, there are also computer algorithms that can find "good enough" solutions very quickly and are very useful for problem sets that are out of the realm for a human being to solve in a reasonable amount of time.

    2. Re:No, you don't have an excuse by EvilBudMan · · Score: 1

      Right good enough is what really works. To get that extra 9 in accuracy just doesn't matter much solving practical problems. This is why AI has failed so far is because to have artificial intelligence, you need to throw in a little artificial stupidity (P=NP).

  16. Human brains solve NP-Hard problems by cyberfringe · · Score: 5, Interesting

    Assuming the analysis is correct and these games are NP-hard, then what is interesting is not that some of us failed miserably at the games but so very many people did quite well. The human brain is a special-purpose computer that excels at solving problems critical to the species' survival. This suggests to me that reformulating problems of interest into a form that the brain can process (e.g., video games) might be an excellent way to tap the computational power of the brain. Wouldn't it be interesting if the millions of brains playing games were actually solving major problems in physics, biochemistry, etc.? Call it "crowd-sourced computation".

    --
    There's no sense in being precise when you don't even know what you're talking about. -- John von Neumann
    1. Re:Human brains solve NP-Hard problems by wstrucke · · Score: 1

      After all, that's how Eli got on the Destiny.

    2. Re:Human brains solve NP-Hard problems by timeOday · · Score: 4, Interesting

      NP hard doesn't necessarily mean something is hard in any practical sense. It might be a tiny problem instance (like traveling salesman with 3 or 4 cities). Or more commonly, it might be very hard to definitely find an optimal answer, but easy to get a good answer (within a couple percent of optimum), which is the normal way living things get by in the world. And since the computer is solving a mathematical model of your real problem and not the real problem itself, optimizing the model to the tenth decimal point is often a complete waste of time.

    3. Re:Human brains solve NP-Hard problems by Anonymous Coward · · Score: 1

      You mean like folding proteins?
      http://fold.it/portal/

    4. Re:Human brains solve NP-Hard problems by Hatta · · Score: 2

      Nonsense. Just because someone can solve a specific instance of an NP hard problem in a finite amount of time doesn't mean he's capable of solving NP hard problems in P time.

      --
      Give me Classic Slashdot or give me death!
    5. Re:Human brains solve NP-Hard problems by sourcerror · · Score: 2

      This suggests to me that reformulating problems of interest into a form that the brain can process (e.g., video games)

      That's what "gamification" is. Not a new idea. It even has its own Wikipedia page.

      http://en.wikipedia.org/wiki/Gamification

    6. Re:Human brains solve NP-Hard problems by The+Raven · · Score: 2

      Not exactly... there's a huge difference between getting a solution to a problem, and getting the best solution to a problem.

      The traveling salesman problem is a classic NP Hard one. But that doesn't mean you can't get an OK answer just by looking at the possible routes and making a pretty good choice. Human brains (and computer algorithms) can get 'pretty good' answers on many NP Hard issues. That's not the same as finding the best solution. I wager no human has ever gotten the 'optimal' play through of any of the listed games.

      --
      "I will trust Google to 'do no evil' until the founders no longer run it." Hello Alphabet.
    7. Re:Human brains solve NP-Hard problems by sourcerror · · Score: 1

      Sorry, the wiki page is about the way marketing people use it.

    8. Re:Human brains solve NP-Hard problems by hbar+squared · · Score: 1

      This is actually a burgeoning field of research right now. There are several games that use human effort to solve NP-hard problems. The ones I know about are foldit (a protein folding simulation) and phylo (a comparative genomics engine), but I'm sure there are more.

    9. Re:Human brains solve NP-Hard problems by Jeidon · · Score: 1

      After all, that's how Eli got on the Destiny.

      Exactly what I was thinking. Here's hoping Star Trek Online is really waiting for me to solve some... problem that... damn

    10. Re:Human brains solve NP-Hard problems by brainzach · · Score: 1

      There isn't a huge difference between a pretty good and the best solution in the real world.

    11. Re:Human brains solve NP-Hard problems by EvilBudMan · · Score: 1

      They are doing this already for pay and then it becomes less of a game.

    12. Re:Human brains solve NP-Hard problems by mattack2 · · Score: 1

      I wager no human has ever gotten the 'optimal' play through of any of the listed games.

      Depends upon what your definition of optimal is. Speed runs are something that people have been doing for a while. I haven't ever watched much of any of the videos, but one site with a lot of videos is http://speeddemosarchive.com./

    13. Re:Human brains solve NP-Hard problems by bloodhawk · · Score: 1

      I don't think making your own definitely of optimal up qualifies. the optimal solution is maximum score, in least time with no deaths.

    14. Re:Human brains solve NP-Hard problems by David+Jao · · Score: 1
      The analysis contains some errors, although the errors are probably fixable and thus the overall result is probably correct. For example the "crossover gadget" (version 2) in the paper does not do what it claims. In SMB3 it's possible for a big mario entering from the bottom to break both blocks and crouch-jump into the left hand gap.

      Regarding your larger point, I don't think video games are an especially compelling example of a critical survival skill that's well-suited to human brains. The classic examples are speech recognition and especially face recognition, which are VERY hard to do on computers. If I had to pick a hard problem that humans can solve better than computers, I'd pick music transcription. For polyphonic music (such as a whole orchestra), this is absolutely impossible for a computer, but any even semi-skilled rock guitarist can do this in their sleep, at least as far as picking out the melody, harmony, and rhythm.

    15. Re:Human brains solve NP-Hard problems by gr8dude · · Score: 1

      What you have in mind is an "isomorph problem". A nice example is provided by Donald Norman in "Things that make us smart".

      First a problem is posed as a math game in which you play against an opponent and have to choose numbers from a set, such that their sum is N. Then, the same problem is presented in the form of tic-tac-toe, which is visual and can be solved almost instantly.

  17. Infinite Mario by wisnoskij · · Score: 3, Interesting

    I think it might all come down to how you look at the problem.
    many people have programmed AI to beat Mario, I believe a few years ago their was some random Mario level generator (possibly called Infinite Mario) and a contest to create AI to play it. The simple act of taking it one frame at a time, dodging and jumping, is not hard to program AI or resource intensive I think, but any problem can be made complicated. If you are saying take a static level, how do you get the absolute maximum score, now of course that is NP hard.

    --
    Troll is not a replacement for I disagree.
    1. Re:Infinite Mario by Anonymous Coward · · Score: 0

      I believe you're referring to this video: http://youtu.be/DlkMs4ZHHr8

      As Mario advances, you can actually see the algorithm calculate many different paths in real time and choose the best one. Really impressive.

    2. Re:Infinite Mario by caywen · · Score: 1

      Or look at it this way: write a program that proves that the game doesn't just reset and loop back to the beginning.

  18. What? by snowgirl · · Score: 2

    The proofs are based on showing that the problem of deciding if a goal point is reachable from a starting point is NP-hard. The games are also generalized in that the size of the board is increased.

    But the goal points are always reachable from the starting point... otherwise it would be a really shitty computer game.

    The fact that the games are not randomized every play-through, and of limited size...

    Grr... "NP-Hard" doesn't mean actually hard to solve... There is a proper subset of generalized NP-Hard (NP-Complete even) problems that are not particularly difficult to solve.

    While the original Super Mario Brothers may have had one level that has an actual real maze to it, and as such, the underlying principles of the game may be extrapolated to be NP-hard, the first level of Super Mario Brothers is clearly not. In fact, most of the original Super Mario Brothers doesn't have any splits or deviations from the linear path that do anything but take you to a point further along in the linear path.

    What I'm saying is, it seems like they generalized at least some of the games beyond all meaningful criteria... especially when these early games were specifically constructed to ensure that they the goals remained always potentially reachable.

    --
    WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
  19. Subtle distinction by davidbrit2 · · Score: 0

    Battletoads and Adventure Island are, on the other hand, mother-fucking-hard.

  20. For a gentler introduction by tepples · · Score: 5, Informative
    There are three classes of problems at issue here:
    • NP, problems for which you can verify a solution in polynomial time (e.g. O(x^2) or O(x^3) operations);
    • NP-hard, problems that are at least as hard as the hardest problems in NP; and
    • NP-complete, problems that are both NP and NP-hard.

    For a gentler introduction, see P vs. NP.

    1. Re:For a gentler introduction by maestroX · · Score: 1

      can you provide a nintendo analogy?

    2. Re:For a gentler introduction by EvilBudMan · · Score: 1

      P=NP

      Now where is my $1M prize?

    3. Re:For a gentler introduction by edxwelch · · Score: 1

      > NP, problems for which you can verify a solution in polynomial time...blah, blah
      So, I guess no one is able to explain the term in *plain* English.

    4. Re:For a gentler introduction by tepples · · Score: 1

      "Polynomial time" means the number of steps is proportional to the size of the problem squared, cubed, or the like. "Exponential time" means the number of steps is more like 2 to the power of the size of the problem. "Verifying a solution" means you have a candidate solution, and you take steps to prove that it is valid. What else do you want explained in small words?

  21. Try Battle Kid by tepples · · Score: 1

    Is this Battletoads? No, it's Battle Kid.

  22. Get off my lawn by Rik+Sweeney · · Score: 1

    Those games aren't hard, modern games are just too easy.

    Anyone played Demon's Souls? That's how hard games should be.

    1. Re:Get off my lawn by GameboyRMH · · Score: 1

      Some modern games I've played that are bloody hard are DMC4 and Prince of Persia: Warrior Within. Dunno about Demon's Souls, haven't played it.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    2. Re:Get off my lawn by Anonymous Coward · · Score: 0

      Demon's Souls and it's successor Dark Soul's are two of the best games I've played this generation. If you consider yourself any kind of gamer you should check them out.

    3. Re:Get off my lawn by KatchooNJ · · Score: 1

      Demon's Souls f&#king hates you!

      Kick-ass game... more modern games need to be like Demon's Souls and Dark Souls.

      --
      "Never give up, for that is just the time and place when the tide will change." -Harriet Beecher Stowe ^_^
    4. Re:Get off my lawn by Anonymous Coward · · Score: 0

      Those are children games, go play some nethack boy.

  23. NP-Hard is not so daunting ... by Anonymous Coward · · Score: 0

    ... for non-polynomials that work out to a constant size.

    1. Re:NP-Hard is not so daunting ... by JonySuede · · Score: 1

      constant is a polynomial of degree 0

      c*x^0 + 0 * x + 0 * x^2 + .... = c

       

      --
      Jehovah be praised, Oracle was not selected
  24. It's really interesting by aglider · · Score: 1

    to know how scientist use their resources, nowadays.
    It'd be also very interesting in knowing how these breakthrough can help the mankind and the Science.

    --
    Sent as ripples into the electromagnetic field. No single photon has been harmed in the process.
  25. Probably not in NP by Anonymous Coward · · Score: 0

    It seems that these problems are not in NP, either, since one would hazard that a certificate that one has achieved the fastest possible run would involve exponentially much information. Proving that one has made the correct decision at each step seems hard if one doesn't include exponentially much information about the future.

  26. since when is.. by Truekaiser · · Score: 1

    pokemon considered np hard.
    that's the simplest game i have played, it's just one big rock paper scissors simulator.
    the video game version's of the card game on the other hand were hard because the ai cheated, it had a pool of all possible cards from it's deck. you only had what you had chosen.

    1. Re:since when is.. by Anonymous Coward · · Score: 0

      Read the article. The game of pokemon isn't considered hard - it's the pathfinding from a start point to a finish point with trainers that will move around and battle you as you walk in front of them. Deterministically deciding whether or not it is possible to make it to the end or not is NP-Hard.

  27. abstract by pr0fessor · · Score: 1

    I've played Mario, Donkey Kong, and legend of zelda and I enjoyed them, especially legend of zelda. The wikipeadia article on NP-Hard is so poorly written using broken circular logic I really have no clue what they were trying to express.

    1. Re:abstract by JonySuede · · Score: 1

      There is only one phrase in the wikipedia article that you need to understand what is NP-hard is assuming you know NP-complete:

      A problem H is NP-hard if and only if there is an NP-complete problem L that is polynomial time Turing-reducible to H (i.e., LTH). In other words, L can be solved in polynomial time by an oracle machine with an oracle for H.

      Assuming you do not know what is NP-complete the relevant phrase to understand NP-hard from the article is :

      NP-complete is a subset of NP, the set of all decision problems whose solutions can be verified in polynomial time; NP may be equivalently defined as the set of decision problems that can be solved in polynomial time on a nondeterministic Turing machine.

      So here is my explanation :

      A NP-hard problem is a problem H that can formally be transposed in a polynomial number of steps to a problem L for witch it takes a polynomial amount of time to verify it's solution. Ex.: To verify the traveling sales(TSP) man problem*1, given a route r with n points you just have to measures it in n step then check if the route r in shorter or equal to k.

      --
      Jehovah be praised, Oracle was not selected
  28. Super Mario Forever IPS by tepples · · Score: 3, Informative

    The IPS file for Super Mario Forever, the map pack featured in the Super Mario Frustration video, is still available.

  29. Hey. Pedants. by Uberbah · · Score: 0

    You may have have thought games like Super Mario Bros., Donkey Kong, and so on were hard at the time you were playing them, but you probably didn't guess they were NP-hard

    Go ahead and use pedantic terms as much as you want when writing summaries - but it's rather annoying when you don't take .5 seconds to define them. Linking to a pendantic explanation of your pedantic writing makes it only marginally less annoying.

    Like:

    Here let me tell you a story where a vulpini went after a sciuridae in my back yard.

    vs

    Here let me tell you a story where a vulpini (fox for you plebeians) went after a sciuridae (squirrel) in my back yard.

  30. Low scores!?!? by GameboyRMH · · Score: 1

    Looks at my name. You think my scores are low?

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
  31. NP Hard Games by PerfectionLost · · Score: 1

    Isn't an NP hard game effectively any game you can't save, reload, and try again?

    1. Re:NP Hard Games by Anonymous Coward · · Score: 0

      No.

    2. Re:NP Hard Games by Johann+Lau · · Score: 0

      "NP hard" makes no sense!!!1 How can something be no problem, yet hard at the same time?

      Whatever NP hard is, this is NP harder.

  32. so in simple words by Anonymous Coward · · Score: 0

    in simple words
    in order to win you have to make that seemingly impossible jump
    or you lose, you can make all the shorter jumps in between
    but in the end you'll have to make that jump
    there's no way around

    god, i read that godawful wikipedia article
    think i lost couple of braincells reading the examples section

  33. Game Genie!!! by Anonymous Coward · · Score: 0

    And that is why they invented game genie.
    So, impatient folks like myself could see what the game ending cut scene was with minimal effort in very little time.

  34. Next step on this... by grumpyman · · Score: 1

    ...is to prove that it's also NP-complete, and in theory NP-hard problems can then be mapped to Mario Brothers and solved by avid gamers :)

    1. Re:Next step on this... by Bob+the+Super+Hamste · · Score: 1

      Sounds like a job for Bruce Schneier.

      --
      Time to offend someone
  35. Game Center CX by Anonymous Coward · · Score: 0

    KEEP CALM and KACHO ON

  36. Please by Anonymous Coward · · Score: 0

    i'm from the NP-hard games generation, BITCHES!

  37. Solomon's Key by Anonymous Coward · · Score: 0

    That was a hard game. Probably the hardest I ever played.

  38. When 2P is completely broken by tepples · · Score: 1

    Control of player 2 doesn't even work in some parts of Battletoads. How is that not designed poorly?

    1. Re:When 2P is completely broken by J-1000 · · Score: 1

      Never experienced the two-player bug, but that does not mean the single player game was designed poorly. I beat the game on single player, and while extremely tough it was certainly not poorly designed or fundamentally broken.

  39. Postulate by Anonymous Coward · · Score: 0

    I'm NP Hard if you know what I mean. I mean I am a class of problems that are, informally, "at least as hard as the hardest problems in NP". And also that second thing.

  40. Can't believe no one has mentioned ... by BilldaCat · · Score: 1

    ... Nethack without spoilers. Without spoilers, not sure how you'd beat this.

    That being said, I regret having the spoilers and forever depriving myself of the chance to do it. Is there any other nethack like game that would provide the same level of challenge?

    --
    BilldaCat
    1. Re:Can't believe no one has mentioned ... by BertieBaggio · · Score: 1

      ... Nethack without spoilers. Without spoilers, not sure how you'd beat this.

      That being said, I regret having the spoilers and forever depriving myself of the chance to do it. Is there any other nethack like game that would provide the same level of challenge?

      Read up-thread: ADOM. There are many rougelikes that qualify. Angband is more slash-y. Dungeons of Dredmor is more modern. Take your pick!

      --
      If all you have is a grenade, pretty soon every problem looks like a foxhole -- MightyYar
  41. Try ten years ago (and 6 weeks ago) by dereference · · Score: 1

    I'm sure I've seen this before. Ahh, yes here it is almost two years ago.

    Tetris is Hard: NP-Hard from 2002!

    Or, more recently, Pac-Man Is NP-Hard from January of this year.

    It's still not a dupe, but really all of these should have been referenced and linked from the submission as relevant.

  42. No Problem... by otaku244 · · Score: 1

    Because I'm NP-Awesome

    --
    Mod me down, I shall become more off-topic than you could possibly imagine.
  43. Re:Hey. Pedants. by Anonymous Coward · · Score: 0

    Hahahahahaha. You go ahead and try defining NP-Hard to a layman (or plebeian ;-)) in .5 seconds. It would be easier to implement AI to simply hide all NP related stories for those who have not whet their feet in the theory of computation.

  44. TAS by Dwedit · · Score: 1

    I love how the intro of the paper talks about Tool Assisted Speedruns, but then proceeds to claim that a solid wall will stop Mario. Anyone who's ever watched the TASs of Super Mario Bros will see the trick where Mario busts through a solid wall like it's nothing.

  45. Fuck NP hard, ya, fuck it hard by Nyder · · Score: 1

    NP hard. I got your hard hanging.

    Seriously, I tried to read the damn wiki on NP hard and it makes no fucking sense.

    so NP hard is well, NP hard.

    I know we got some really smart people here to probably use NP hard in every day conversation, but i'm guessing, you could easily say, that a lot of old nintendo games are pretty fucking challenging and hard to get a high score on.

    But wtf is Pokemon doing in that list? That game isn't hard, it's fucking easy as all hell. It's a memory game. You got to remember what a pokemons weakness and strength is. Even if you don't, the game isn't hard to play. at all. Donkey Kong, sure, that gets hard. Pacman, yes, unless you memorize the patterns, which then makes the game easy and boring as all hell.

    Well, whatever. Next time, maybe the explantion of NP hard shouldn't be, well, NP hard.

    --
    Be seeing you...
  46. Pokemon? NP hard? by 93+Escort+Wagon · · Score: 1

    Nah, just keep throwing Magikarp out there, no matter what the circumstances. His splash attack is devestating!

    --
    #DeleteChrome
  47. Isn't this just halting? by caywen · · Score: 1

    Isn't this just the halting problem? A game is a program whose inputs are discrete inputs from the player. So, before you can write a program that determines the winning solution to a game, the program has to be able to detect if there is any solution at all. Otherwise, the program will run forever. Isn't that just the halting problem, which is NP-hard?

  48. Fester's Quest was beatable, but hard by Anonymous Coward · · Score: 1

    I finished Sunsoft's Fester's Quest using just an NES gamepad and no rapid/turbo fire. It's not impossible but there were (to me) some very hard elements to the game, bordering on being cheap when first encountered, but those very difficult underground maze tricks always had a solution. Here are my tips, for anyone that may still be playing the game but hasn't beaten it.

    * The first screen had to be milked for all of the blue "Gun" powerups--never pick up a red "Gun" that was a power down. Trying to get Blue "Gun" while progressing through the screens was just too hard to do. Don't even scroll the screen until all the blue "Gun powerups have been obtained (the three rapidly moving spikes that moved straight ahead, not in a wavy pattern which was one level down from max power).

    * Once fully powered up and moving on, the hidden extra hit point had to be found, to get three hits rather than two. Going to that one building, then pressing toward that one wall gave that hidden extra hit point.

    * Vice grips were absolutely necessary not just for the mosquitos, but also for the frogs and the red round mouths. Without vice grips, Fester remained stuck at half speed. With vice grips, it was as simple as get hit, slow down to half speed, use a vice grip, back to full walking speed.

    * Those red mouths that took too many shots to do away with? Use one firecracker (or whatever they called it in the game) instead--place one just before the mouth gets to it, and the mouth will go away as soon as it hits the firecracker.

    * Same goes for the whip--milk a scren for all the blue "Whip" powerups before moving on. Red "whip" was a whip powerdown. Basically, don't get ever red "Gun" or" Whip", even if it means having to stay in one place until it times out or fades away; otherwise, later in the game it becomes much harder to regain a blue "Gun" or "Whip" powerup.

    * Boss fights were the closest to being cheap, I thought. Mainly consisted of drilling the boss with shots or the whip, getting hit by sometimes an undodgeable shot, then using the health to recharge when Fester got to only one hit left. This is why is was necessary to get that third hidden hit, otherwise Fester wouldn't last through some of the boss fights. (Dodging was quite difficult for many of the bosses--though possible but it was usually better to mostly stay still and keep hitting the fire button; however, I did not ever find the dodge pattern for the last boss.)

    * Continuing started all the way at the beginning, even though all items were kept. I usually quit or start a whole new game rather than choose to continue.

    That said, I finished Fester's Quest twice. The ending is short, but nevertheless there is an ending sequence to close out the game.

    Also, I thought the main above ground theme was excellent music even if it wasn't an Addams Family tune. (Makes sense, Sunsoft also did Blaster Master which I thought had particuarly excellent Stage 1, 2, and 3 music.)

  49. Castlevania 1 by thomasw_lrd · · Score: 1

    No love for the original castlevania? I've only met one person who beat it and he sold his soul to Satan to play video games. At least he claims he beat it. I never saw it done.

  50. adom vs. dwarf fortress by Janek+Kozicki · · Score: 2

    I tried dwarf fortress. Probably about 3 or 5 weeks in total. I learned the basics, tried the adventure mode, etc. Indeed it's a nice complex game with many possibilities. But after that time, and having fully configured dwarf therapist. I decided that this game is not fun for me. It's babysitting mixed with sim city. I decided that I do not want to spend more time learning its quirks.

    Instead my adom nostalgia grown stronger. And after I was finished with dwarf fortress I successfully resisted the urge to play adom. Doing frequent and successful checks for willpower apparently increases it. Looks like adom is quite good at mimicking real life.

    About adom, I especially love the single-life no-saving feature in adom. It trains your skills at solving ultra-complex problems with cold head. I still remember the adrenaline rush when in this turn-based game I was fighting Andor Drakon, planning many moves ahead and thinking several seconds before making next move. Lovely, especially the adrenaline!

    One of my high scores says: "He saved the world with his brave efforts and became a great ruler while saving himself 2 times." Indeed I saved only two times in this game, and this winning-marathon took about 40h of playing. But also it took one month of dying, before I played the winning game. Heh, my last win was in 2008. But still I need to resist playing it now again. There is lots of interesting research for me to do.

    Violence! This is very funny, but for me there is as much violence in adom, as you have in a game of chess. Indeed you can beat the pawns in chess, and they are killed. Same thing in adom, only more complex.

    I wonder why I can't have that much fun from other "popular" games like Elder Scrolls or Twilight Princess. Only Diablo 1 is comparable, albeit much worse.

    well... back to QED

    --
    #
    #\ @ ? Colonize Mars
    #
    1. Re:adom vs. dwarf fortress by Ihmhi · · Score: 1

      You might appreciate Realm of the Mad God. It seems like you like a hardcore, permadeath style of play. Mad God is very much that. Downside is if you die you lose all of your gear and levels. Upside is that you can level a character from 1 to 20 (max level) in 40-60 minutes. Try it out, I'm pretty sure you'll enjoy it. I certainly do. And if you do give it a whirl and like it, fire me off an e-mail and I'll hook you up with some gear.

  51. What about Friday the 13th (NES) ? by Anonymous Coward · · Score: 0

    It featured a randomized attack scheme for the camp counselors/children.
    Jason's whereabouts were randomized as well.
    Not to mention, this game is ridiculously hard to beat.
     

  52. Computation Thoughts & Nostalgia by EventHorizon_pc · · Score: 1

    Finally they prove these games are as hard as flipping pancakes!

    Joking aside, being NP-Hard doesn't really correspond to difficulty. It was pointed out in another comment that since the levels are fixed, they cannot be NP-Hard. Another then said people have altered the levels on many of these games, but that still doesn't mean much. There is no set of levels that could prove it.

    Being NP-Hard is a property of at least one of the mechanisms in the game. For the proof, the mechanism is shown be able to encode an NP-complete problem in such a way that if you could solve the game mechanism's problem quickly, it can be shown to quickly give solutions to the NP-complete problem. So it's not really any specific level, its the ability to embed other "hard" problems into the level and being able to translate the solution back quickly that's important. (IE, it's hard because it's solution can "automatically" solve other hard problems quickly)

    Odds are if you saw the levels created by translating 3-Sat problems (or whatever they used for the reduction) into Mario levels, you'd think the levels were not fun in the slightest. Then again, it could be cool to let people input some 3-Sat problem and then go play the Mario level and see the answer they generated by beating the level. Anyone wanna make that? And then input the levels into Super Mario Crossover 2 so I can use the Blaster Master tank :)

    Speaking of Blaster Master, I got a kick out of reading other people's experiences with those old NES games. It seems the harder those games were the more I liked them. Kid Icarus, Battletoads, Blaster Master, Fester's Quest, and Solomon's Key were mentioned, but also Teenage Mutant Ninja Turtles (the one with the swimming bomb-defusing second level), Friday the 13th (though once you know how Jason attacks it's too easy, even just throwing stones), the first Mega Man (without using the repeated select button trick), Bart vs. The Space Mutants, Double Dragon III, Ninja Gaiden Trilogy, Deadly Towers, Rush 'n Attack, Snake Rattle & Roll, Mike Tyson's Punch Out, Metroid, Gauntlet, Castlevania, Nightmare on Elm Street, Little Nemo, Legendary Wings, Bionic Commando, Guardian Legend, Zelda I & II, Marble Madness, Werewolf, Legacy of the Wizard. I've got nostalgia for each one (maybe because I spent enough time to memorize the levels, develop my strategy, and finally win), not to mention the various RPGs but those are generally less difficult. Thank goodness for emulators :)

  53. double dragon by Anonymous Coward · · Score: 0

    Double dragon !!! Especially part two was np hard lol

  54. What a complete waste of money and resources! by MarkTina · · Score: 1

    Seriously people get paid to do the "research" on this ? There are countless diseases and other problems in the world and someone gets the new crop of university brainiacs working out how hard an f'ing computer game is ?
    Well that'll be such a help to civilization!

  55. Motion control by tepples · · Score: 1

    He was funny to watch as he would move his entire body to make Mario jump.

    A lot of beginner gamers do this, and it's what console makers depended on when designing the Wii Remote and the Kinect sensor.

  56. NP-Hard by alienzed · · Score: 1

    So, what the heck does it mean in the context of video games? "A problem as hard as the hardest NP-problem" really doesn't clarify it for me thanx...

    --
    Never say never. Ah!! I did it again!
  57. Human brains solve NP-Hard problems GTA by cooljustify · · Score: 1

    This paper is as close to marketing as science ever comes. The use of the words 'NP-Hard' and "video games" were chosen specifically because they sound impressive, not because they've shown anything useful. They came up with some way to connect those two words in a paper (by morphing Mario, and defining it in a way that never entered any cartridge. If you have a finite number of paths through Mario in an arbitrarily large map, and some choices make the game impossible to beat because you get stuck, then yes you have an NP-Hard search problem. But there is no Mario level like that, and never will be because it would be boring). It also fulfills the other requirement of marketing, that it makes me feel dumber after reading. This super-annoying movie comes very close to showing the method used in this proof [youtube.com]. It solves a problem that no gamer would ever face, and no GTA Wallpapers level designer would ever face either, unless his method was to randomly drop blocks on the screen, rearrange them into chunks of which some are impossible to pass, and then rearrange those randomly. Can you see how this has absolutely nothing to do with the game we call Super Mario Bros? In other words, the authors saw the attention people got for using the word "NP-Hard" in relation to Tetris (look! Made it on BBC! ), and though "wow, maybe if we use the word NP-Hard in relation to Super Mario Bros, we can get on the BBC too! There is absolutely nothing novel about this result, and in fact, it might be a homework problem you would give to students in an undergraduate class on computer theory. Given the right introduction, the students could easily do it. It is a blatant attention whore attempt.

  58. Re:Kid Icarus, not! by Anonymous Coward · · Score: 0

    Section Z was way more difficult!

  59. Pokemon? by JustAnotherIdiot · · Score: 1

    Oh please, all you had to do was grind. That wasn't hard in the slightest.

    --
    What do I know, I'm just an idiot, right?