Mastermind is NP-Complete

Main Article Content

Jeff Stuckman
Guo-Qiang Zhang

Abstract

In this paper we show that the Mastermind Satisfiability Problem (MSP) is NPcomplete. Mastermind is a popular game which can be turned into a logical puzzle called the Mastermind Satisfiability Problem in a similar spirit to the Minesweeper puzzle. By proving that MSP is NP-complete, we reveal its intrinsic computational property that makes it challenging and interesting. This serves as an addition to our knowledge about a host of other puzzles, such as Minesweeper, Mah-Jongg, and the 15-puzzle.

Article Details

How to Cite
Stuckman, J., & Zhang, G.-Q. (2006). Mastermind is NP-Complete. INFOCOMP Journal of Computer Science, 5(2), 25–28. Retrieved from https://infocomp.dcc.ufla.br/index.php/infocomp/article/view/130
Section
Articles