Slashdot Mirror


All the Best Games May Be NP-Hard

Catullus writes "Following in the footsteps of Tetris and Minesweeper, the simple yet addictive multiplatform game Flood-It is the latest puzzle to be proven to be hardNP-hard, to be exact. This means that there's no way to write an efficient program to beat the game, unless P=NP. This research by computer scientists from Bristol University raises the intriguing question: are these games fun precisely because they're hard for computers to solve, and need a spark of human creativity?"

10 of 322 comments (clear)

  1. Oblig XKCD by Zocalo · · Score: 3, Funny

    I'd say that this is most definitely NP, for humans and AI alike.

    --
    UNIX? They're not even circumcised! Savages!
    1. Re:Oblig XKCD by Crudely_Indecent · · Score: 3, Funny

      I tied the top score!

      0 (zero)

      --


      "Lame" - Galaxar
    2. Re:Oblig XKCD by Anonymous Coward · · Score: 4, Funny

      I doubled your score, Loser!

  2. Re:Just to throw this out there by Anonymous Coward · · Score: 4, Funny

    I have no idea what you just said. Can you use a car analogy?

  3. Re:The fun is in the simplicity by quantumplacet · · Score: 4, Funny

    exactly, because every single windows user plays minesweeper, but not tetris which is unfortunately only available for ps2.

  4. P = NP, eh? by clone53421 · · Score: 2, Funny

    I already wrote a solver for this exact game. It just isn’t efficient.

    --
    Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
  5. Re:I'll just have to prove P=NP then. by clone53421 · · Score: 2, Funny

    Proving that P = NP is easy... you just have to start with contradictory premises.

    --
    Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
  6. Re:Sokoban by owlstead · · Score: 2, Funny

    "I'm seeing a pattern here..."

    Are you sure? Maybe determining if the pattern is correct is also NP-hard.

  7. I solved it by jimbolauski · · Score: 4, Funny

    P=N*P
    N=1

    P! = N * P
    (P-1)! = N
    (P-1)! = 1
    P = 1

    Now where in my Nobel Peace Prize.

    --
    Knowledge = Power
    P= W/t
    t=Money
    Money = Work/Knowledge so the less you know the more you make
    1. Re:I solved it by Anonymous Coward · · Score: 1, Funny

      But P could be equal to 1 or to 2. That's why this problem is so hard, nobody knows which it is : )