English

Playing Mastermind With Constant-Size Memory

Data Structures and Algorithms 2015-03-19 v1 Neural and Evolutionary Computing

Abstract

We analyze the classic board game of Mastermind with nn holes and a constant number of colors. A result of Chv\'atal (Combinatorica 3 (1983), 325-329) states that the codebreaker can find the secret code with Θ(n/logn)\Theta(n / \log n) 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 of Computing Systems 39 (2006), 525-544) on the memory-restricted black-box complexity of the OneMax function class.

Cite

@article{arxiv.1110.3619,
  title  = {Playing Mastermind With Constant-Size Memory},
  author = {Benjamin Doerr and Carola Winzen},
  journal= {arXiv preprint arXiv:1110.3619},
  year   = {2015}
}

Comments

23 pages

R2 v1 2026-06-21T19:21:13.642Z