Skip to main navigation Skip to search Skip to main content

Playing Mastermind with Constant-Size Memory

Research output: Contribution to journalArticlepeer-review

Abstract

We analyze the classic board game of Mastermind with n holes and a constant number of colors. The classic result of Chvátal (Combinatorica 3:325–329, 1983) states that the codebreaker can find the secret code with Θ(n/logn) questions. We show that this bound remains valid if the codebreaker may only store a constant number of guesses and answers. In addition to an intrinsic interest in this question, our result also disproves a conjecture of Droste, Jansen, and Wegener (Theory Comput. Syst. 39:525–544, 2006) on the memory-restricted black-box complexity of the OneMax function class.

Original languageEnglish
Pages (from-to)658-684
Number of pages27
JournalTheory of Computing Systems
Volume55
Issue number4
DOIs
Publication statusPublished - 1 Nov 2014
Externally publishedYes

Keywords

  • Mastermind
  • Memory-restricted algorithms
  • Query complexity

Fingerprint

Dive into the research topics of 'Playing Mastermind with Constant-Size Memory'. Together they form a unique fingerprint.

Cite this