<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Chaos at the Sky]]></provider_name><provider_url><![CDATA[https://chaosatthesky.wordpress.com]]></provider_url><author_name><![CDATA[chaotic_iak]]></author_name><author_url><![CDATA[https://chaosatthesky.wordpress.com/author/chaoticiak/]]></author_url><title><![CDATA[Games Are Hard]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>Also known as <strong>Complexity of Games and Puzzles</strong>. Original title was <strong>NP-completeness</strong>. Most likely will be more up-to-date on <a href="https://chaoticiak.github.io/hardgames.html">my other site</a>.</p>
<p>I love puzzles and games so much. I also enjoy theoretical computer science. Of course this had to be done. Here&#8217;s a list of everything I&#8217;ve found. This page will (hopefully) be updated every time I get a new thing. Contributions welcome.</p>
<h3>Notes</h3>
<ul>
<li>
<p>In a conversation with Sebastian Schoener, I realized that there is a difference between <strong>satisfiability/consistency</strong> problems and <strong>uniqueness/soundness</strong> problems. For certain games/puzzles, there are two questions that make sense: whether a given instance of a puzzle has <strong>at least</strong> one solution (it is <em>satisfiable/consistent</em>), and whether it has <strong>at most</strong> one solution (it is <em>sound</em>). We can generalize the soundness problem: given an instance of a partially-solved puzzle, whether there exists &#8220;anything&#8221; that can be deduced (the contents of a cell, etc).</p>
<p>Soundness matters. For example, if you&#8217;re stuck in Minesweeper (it allows no progress; nothing can be deduced), you must guess, which is obviously bad. Likewise, if you&#8217;re doing a puzzle competition, and you can&#8217;t deduce anything, it means the puzzle has multiple solutions, and so you must guess the solution intended by the author, which is also bad.</p>
<p>In most cases, the more natural problem is satisfiability/consistency; we&#8217;re concerned whether there exists at least one solution. However, there are some specific cases in which the soundness problem is more natural instead, for example Minesweeper. I&#8217;ve marked (hopefully) everything where consistency and soundness can matter with whether they are about consistency or about soundness.</p>
</li>
<li><a href="http://kjk.office.uec.ac.jp/Profiles/0001/0000293/theses1.html">This</a> that states several papers showing that Country Road, Ripple Effect, Shikaku, and Yajilin are NP-complete. Anyone knows whether the papers are available online?</li>
</ul>
<h3>Last updated 06-Jun-2016</h3>
<p>Puzzles and games that are proven to be in some class, along with what reduces to them&#8230;</p>
<h2>NP-complete</h2>
<ul>
<li><a href="http://people.cs.umass.edu/~mcphailb/papers/2005lightup.pdf">Akari</a> (satisfiability) from 3-SAT</li>
<li><a href="http://www.mountainvistasoft.com/docs/BattleshipsAsDecidabilityProblem.pdf">Battleships</a> (satisfiability) from 3-SAT, from bin packing</li>
<li><a href="http://arxiv.org/pdf/1403.5830v1.pdf">Bejeweled</a> (whether a given gem can be popped) from 1-in-3 SAT</li>
<li><a href="http://www2.stetson.edu/~efriedma/papers/corral/corral.html">Corral</a> (satisfiability) from 3-colorability of planar graphs</li>
<li><a href="http://www.ics.uci.edu/~eppstein/pubs/Epp-SN-87.pdf">Cryptarithms (Verbal Arithmetic)</a> (satisfiability) from 3-SAT</li>
<li><a href="http://www-imai.is.s.u-tokyo.ac.jp/~yato/data2/MasterThesis.pdf">Fillomino</a> (satisfiability) from 3-SAT</li>
<li><a href="http://citeseerx.ist.psu.edu/viewdoc/download;jsessionid=C7530265886EAAF0BD17B8F22A9873CF?doi=10.1.1.19.6267&amp;rep=rep1&amp;type=pdf">Galaxies</a> (satisfiability) from 3-SAT</li>
<li><a href="http://users-cs.au.dk/koda/thesis.pdf#page=111">Hashi(wokakero)</a> (satisfiability) from existence of Hamiltonian circuits in unit-distance graphs</li>
<li><a href="http://link.springer.com/chapter/10.1007%2F978-3-540-72914-3_18#page-1">Heyawake</a> (satisfiability) from 3-SAT</li>
<li><a href="http://www6.in.tum.de/Main/Publications/Ruepp2010a.pdf">Kakuro</a> (satisfiability) from 3-SAT</li>
<li><a href="https://chaosatthesky.wordpress.com/2014/01/07/p075/">KenKen (TomTom)</a> (satisfiability) from Latin Square</li>
<li><a href="https://www.jstage.jst.go.jp/article/ipsjjip/20/3/20_694/_pdf">Kurodoko</a> (satisfiability) from 3-SAT</li>
<li><a href="http://www.sciencedirect.com/science/article/pii/0166218X84900751">Latin Square</a> (satisfiability) from triangulation of tripartite graphs</li>
<li><a href="http://dimacs.rutgers.edu/~graham/pubs/papers/cormodelemmings.pdf">Lemmings</a> (satisfiability) from 3-SAT</li>
<li><a href="http://arxiv.org/pdf/cs/0512049v1.pdf">Mastermind</a>  (satisfiability) from vertex cover</li>
<li><a href="http://www2.stetson.edu/~efriedma/papers/pearl/pearl.html">Masyu</a> (satisfiability) from existence of Hamiltonian circuits in cubic graphs</li>
<li><a href="http://link.springer.com/article/10.1007%2FBF03025367">Minesweeper</a> (satisfiability) from 3-SAT</li>
<li><a href="http://www.liacs.nl/assets/2012-01JanvanRijn.pdf">Nonogram</a> (satisfiability) from Nondeterministic Constraint Logic</li>
<li><a href="http://cage.ugent.be/~klein/papers/nurikabe.pdf">Nurikabe</a> (satisfiability) from 3-SAT</li>
<li><a href="http://www.patterna-game.com/2016/06/02/the-computational-complexity-of-patterna/">Patterna</a> (satisfiability) from 3-SAT</li>
<li><a href="https://chaosatthesky.wordpress.com/2014/01/08/ripple-effect-is-np-complete/">Ripple Effect</a> (satisfiability) from 3-SAT, Latin Square</li>
<li><a href="http://www-imai.is.s.u-tokyo.ac.jp/~yato/data2/MasterThesis.pdf">Slitherlink</a> (satisfiability) from existence of Hamiltonian circuits in cubic graphs</li>
<li><a href="http://arxiv.org/pdf/1501.06398v1.pdf">Solitaire Chess</a> (satisfiability) from 3-SAT</li>
<li><a href="http://www-imai.is.s.u-tokyo.ac.jp/~yato/data2/MasterThesis.pdf">Sudoku</a> (satisfiability) from Latin Square</li>
<li><a href="http://arxiv.org/pdf/1203.1895v1.pdf">Super Mario Bros</a>  (whether one can reach a target point) from 3-SAT</li>
<li><a href="http://erikdemaine.org/papers/Tetris_COCOON2003/paper.pdf">Tetris</a> (whether one can survive over a known finite sequence of pieces) from 3-partition</li>
<li><a href="http://arxiv.org/pdf/1411.5765.pdf">TrackMania</a> (whether one can finish the lap) from 3-SAT</li>
<li><a href="http://www.sciencedirect.com/science/article/pii/S0020019011002870">Zen Puzzle Garden</a> (satisfiability) from existence of Hamiltonian circuits in cubic graphs</li>
</ul>
<h2>coNP-complete</h2>
<ul>
<li><a href="http://www.patterna-game.com/2016/06/02/the-computational-complexity-of-patterna/">Patterna</a> (soundness) from 3-UNSAT</li>
</ul>
<h2>NP-hard</h2>
<ul>
<li><a href="http://arxiv.org/pdf/1203.1895v1.pdf">Pokémon (with only Trainers)</a> (whether one can reach a target point) from 3-SAT</li>
<li><a href="http://arxiv.org/pdf/1408.3645.pdf">Game about Squares</a> (consistency) from 3-SAT</li>
</ul>
<h2>PSPACE-complete</h2>
<ul>
<li><a href="http://arxiv.org/pdf/1408.6315.pdf">2048</a> (reaching target configuration) from Nondeterministic Constraint Logic</li>
<li><a href="http://arxiv.org/pdf/1411.5951.pdf">Bloxorz</a> from Nondeterministic Constraint Logic</li>
<li><a href="http://webdocs.cs.ualberta.ca/~joe/Preprints/Sokoban/">Sokoban</a> from simulating linear bounded automata</li>
</ul>
<h2>PSPACE-hard</h2>
<ul>
<li><a href="http://arxiv.org/pdf/1203.1895v1.pdf">Pokémon</a> (whether one can reach a target point) from Sokoban</li>
</ul>
<h2>Undecidable</h2>
<ul>
<li><a href="http://arxiv.org/pdf/1412.0784v1.pdf">Braid</a> (whether one can reach a target point) from simulating counter machine</li>
</ul>
]]></html></oembed>