,
Andy Tockman
Creative Commons Attribution 4.0 International license
We study three problems related to the computational complexity of the popular game Minesweeper. The first is consistency: given a set of clues, is there any arrangement of mines that satisfies it? This problem has been known to be NP-complete since 2000 [Kaye, 2000], but our framework proves it as a side effect. The second is inference: given a set of clues, is there any cell that the player can prove is safe? The coNP-completeness of this problem has been in the literature since 2011 [Scott et al., 2011], but we discovered a flaw that we believe is present in all published results, and we provide a fixed proof. Finally, the third is solvability: given the full state of a Minesweeper game, can the player win the game by safely clicking all non-mine cells? This problem has not yet been studied, and we prove that it is coNP-complete.
@InProceedings{mithardnessgroup_et_al:LIPIcs.FUN.2024.25,
author = {MIT Hardness Group and Hendrickson, Della and Tockman, Andy},
title = {{Complexity of Planar Graph Orientation Consistency, Promise-Inference, and Uniqueness, with Applications to Minesweeper Variants}},
booktitle = {12th International Conference on Fun with Algorithms (FUN 2024)},
pages = {25:1--25:20},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-314-0},
ISSN = {1868-8969},
year = {2024},
volume = {291},
editor = {Broder, Andrei Z. and Tamir, Tami},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.FUN.2024.25},
URN = {urn:nbn:de:0030-drops-199335},
doi = {10.4230/LIPIcs.FUN.2024.25},
annote = {Keywords: NP, coNP, hardness, minesweeper, solvability, gadgets, simulation}
}