Papers
Topics
Authors
Recent
Search
2000 character limit reached

Playing Mastermind with Many Colors

Published 3 Jul 2012 in cs.DS and cs.DM | (1207.0773v2)

Abstract: We analyze the general version of the classic guessing game Mastermind with nn positions and kk colors. Since the case k≤n<sup>1−εk \le n<sup>{1-\varepsilon}, $\varepsilon&gt;0$ a constant, is well understood, we concentrate on larger numbers of colors. For the most prominent case k=nk = n, our results imply that Codebreaker can find the secret code with O(nlog⁡log⁡n)O(n \log \log n) guesses. This bound is valid also when only black answer-pegs are used. It improves the O(nlog⁡n)O(n \log n) bound first proven by Chv\'atal (Combinatorica 3 (1983), 325--329). We also show that if both black and white answer-pegs are used, then the O(nlog⁡log⁡n)O(n \log\log n) bound holds for up to n<sup>2</sup>log⁡log⁡nn<sup>2</sup> \log\log n colors. These bounds are almost tight as the known lower bound of Ω(n)\Omega(n) shows. Unlike for k≤n<sup>1−εk \le n<sup>{1-\varepsilon}, simply guessing at random until the secret code is determined is not sufficient. In fact, we show that an optimal non-adaptive strategy (deterministic or randomized) needs Θ(nlog⁡n)\Theta(n \log n) guesses.

Citations (44)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.