English
 
Help Privacy Policy Disclaimer
  Advanced SearchBrowse

Item

ITEM ACTIONSEXPORT
  Playing Mastermind with Many Colors

Doerr, B., Doerr, C., Spöhel, R., & Thomas, H. (2012). Playing Mastermind with Many Colors. Retrieved from http://arxiv.org/abs/1207.0773.

Item is

Files

show Files
hide Files
:
arXiv:1207.0773.pdf (Preprint), 2MB
Name:
arXiv:1207.0773.pdf
Description:
File downloaded from arXiv at 2014-03-11 13:21
OA-Status:
Visibility:
Public
MIME-Type / Checksum:
application/pdf / [MD5]
Technical Metadata:
Copyright Date:
-
Copyright Info:
-

Locators

show

Creators

show
hide
 Creators:
Doerr, Benjamin1, Author           
Doerr, Carola1, Author           
Spöhel, Reto1, Author           
Thomas, Henning2, Author
Affiliations:
1Algorithms and Complexity, MPI for Informatics, Max Planck Society, ou_24019              
2External Organizations, ou_persistent22              

Content

show
hide
Free keywords: Computer Science, Data Structures and Algorithms, cs.DS,Computer Science, Discrete Mathematics, cs.DM
 Abstract: We analyze the general version of the classic guessing game Mastermind with $n$ positions and $k$ colors. Since the case $k \le n^{1-\varepsilon}$, $\varepsilon>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\'atal (Combinatorica 3 (1983), 325--329). We also show that if both black and white answer-pegs are used, then the $O(n \log\log n)$ bound holds for up to $n^2 \log\log n$ colors. These bounds are almost tight as the known lower bound of $\Omega(n)$ shows. Unlike for $k \le n^{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 $\Theta(n \log n)$ guesses.

Details

show
hide
Language(s): eng - English
 Dates: 2012-07-032013-01-172012-07-032012-07-03
 Publication Status: Published online
 Pages: Extended abstract appeared in SODA 2013. This full version has 22 pages and 1 picture
 Publishing info: -
 Table of Contents: -
 Rev. Type: -
 Identifiers: arXiv: 1207.0773
URI: http://arxiv.org/abs/1207.0773
BibTex Citekey: Doerr2012x
 Degree: -

Event

show

Legal Case

show

Project information

show

Source

show