2016
DOI: 10.1145/2987372
|View full text |Cite
|
Sign up to set email alerts
|

Playing Mastermind With Many Colors

Abstract: We analyze the general version of the classic guessing game Mastermind with n positions and k colors. Since the case k ≤ n 1−ε , ε > 0 a constant, is well understood, we concentrate on larger numbers of colors. For the most prominent case k = n, our results imply that Codebreaker can find the secret code with O(n log log n) guesses. This bound is valid also when only black answer-pegs are used. It improves the O(n log n) bound first proven by Chvátal (Combinatorica 3 (1983), 325-329). We also show that if both… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

1
6
0

Year Published

2017
2017
2024
2024

Publication Types

Select...
6
1

Relationship

1
6

Authors

Journals

citations
Cited by 22 publications
(7 citation statements)
references
References 22 publications
1
6
0
Order By: Relevance
“…In this paper, we resolve this problem after almost 40 years by showing how the n colour n slot Mastermind can be solved with O(n) guesses with high probability, matching the informationtheoretic lower bound up to a constant factor. By combining this with a result by Doerr, Doerr, Spöhel, and Thomas [4], we determine asymptotically the optimal number of guesses for all k and n.…”
Section: Introductionmentioning
confidence: 91%
See 3 more Smart Citations
“…In this paper, we resolve this problem after almost 40 years by showing how the n colour n slot Mastermind can be solved with O(n) guesses with high probability, matching the informationtheoretic lower bound up to a constant factor. By combining this with a result by Doerr, Doerr, Spöhel, and Thomas [4], we determine asymptotically the optimal number of guesses for all k and n.…”
Section: Introductionmentioning
confidence: 91%
“…As a comparison, we note that if k = k(n) is polynomial in n, then the entropy lower bound is simply (n). This gap is a very natural one as Doerr, Doerr, Spöhel, and Thomas [4] showed in a relatively recent paper that if one uses a non-adaptive strategy, there is in fact a lower bound of (n log n) when k = n. In the same paper, they also use an adaptive strategy to significantly narrow this gap, showing that O(n log log n) guesses suffice for k = n. Moreover, they present a randomised reduction from black-white-peg Mastermind to black-peg Mastermind which shows that bwmm…”
Section: Related Workmentioning
confidence: 99%
See 2 more Smart Citations
“…In 2016, Doerr, Doerr, Spöhel and Thomas [DDST16] first managed to narrow this gap by showing that black-peg Mastermind with k = n colors can be solved in O(n log log n) queries. Finally, a recent work of the author together with Su [MS21] construct a randomized solutions for black-peg Mastermind with k = n colors using O(n) queries.…”
Section: Introductionmentioning
confidence: 99%