4 ms·
Dude if you can really solve minesweeper, publish the paper and become famous and rich, because that shit is NP-complete. http://www.cs.montana.edu/courses/spr
by Shorel 14y ago
Dude if you can really solve minesweeper, publish the paper and become famous and rich, because that shit is NP-complete.
http://www.cs.montana.edu/courses/spring2004/spring2004/current/513/resources/minesweeper.pdf http://www.cs.montana.edu/courses/spring2004/spring2004/curr...
- Yen 14y agoNP-complete problems aren't impossible, they just get very computationally expensive the bigger they get. OP would only be rich & famous if they had developed an algorithm that solved minesweeper in polynomial or better time. (i.e., a time complexity on the order of O(n^k), where k is some constant) Many NP-Complete problems are trivially solvable, just not trivially solvable in an efficient manner. - like the Travelling Salesman Problem. You can just try every possible combination. It's not fast, but it works.
- mememememememe 14y agoExactly what Yen said. People generally say "solve" to some sizes of the problem,. Obviously it isn't hard to solve a 4x4 minsweeper... maybe I need to rephrase: "I wrote a minesweeper game..."