SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    Candy Crush Proved to be NP-Hard
Date    Wednesday March 12 2014, @06:59PM
Author    janrinok
Topic   
from the so-my-childhood-wasn't-wasted dept.
https://soylentnews.org/article.pl?sid=14/03/12/166212

nobbis writes:

"Toby Walsh at the University of NSW Australia has, as reported in New Scientist, studied a generalized version of the popular game Candy Crush Saga and found it be an NP-hard problem, indeed he suggests 'Part of its addictiveness may be that Candy Crush is a computationally hard puzzle to solve.'

His paper shows that early rounds in the game can be modeled as a collection of 'wires' transmitting information across the board, with candies forming inputs and outputs, which can be seen as equivalent to logical statements, this reduces the game to an example of a Boolean satisfiability problem which is known to be NP-complete. A similar technique has been used to show that Super Mario Brothers and Zelda are also NP-hard.

Given that people have spent millions of hours playing the game he notes 'It would be interesting to see if we can profit from the time humans spend solving Candy Crush problems, perhaps we can put this to even better use by hiding some practical NP-hard problems within these puzzles?'"

Links

  1. "nobbis" - http://soylentnews.org/~nobbis
  2. " New Scientist, " - http://www.newscientist.com/article/dn25204-addictive-candy-crush-video-game-is-officially-hard.html
  3. " Candy Crush Saga" - http://www.candycrushsaga.com/
  4. " paper" - http://arxiv-web3.library.cornell.edu/pdf/1403.1911v1.pdf
  5. " Boolean satisfiability problem " - http://en.wikipedia.org/wiki/Boolean_satisfiability_problem
  6. " Super Mario Brothers " - http://www.technologyreview.com/view/427197/super-mario-bros-proved-np-hard/

© Copyright 2022 - SoylentNews, All Rights Reserved

printed from SoylentNews, Candy Crush Proved to be NP-Hard on 2022-10-05 18:02:44