The Exact Query Complexity of Yes-No Permutation Mastermind
Open Access
Abstract
Mastermind is famous two-player game. The first player (codemaker) chooses a secret code which the second player (codebreaker) is supposed to crack within a minimum number of code guesses (queries). Therefore, the codemaker’s duty is to help the codebreaker by providing a well-defined error measure between the secret code and the guessed code after each query. We consider a variant, called Yes-No AB-Mastermind, where both secret code and queries must be repetition-free and the provided information by the codemaker only indicates if a query contains any correct position at all. For this Mastermind version with n positions and colors and , we prove a lower bound of and an upper bound of on the number of queries necessary to break the secret code. For the important case , where both secret code and queries represent permutations, our results imply an exact asymptotic complexity of queries.
Keywords
This publication has 10 references indexed in Scilit:
- The query complexity of a permutation-based variant of MastermindDiscrete Applied Mathematics, 2019
- Query complexity of mastermind variantsDiscrete Mathematics, 2018
- On the Query Complexity of Black-Peg AB-MastermindGames, 2018
- Bounds for Static Black-Peg AB Mastermind2017
- Playing Mastermind With Many ColorsJournal of the ACM, 2016
- Combinatorial AlgorithmsLecture Notes in Computer Science, 2013
- The number of pessimistic guesses in Generalized Black-peg MastermindInformation Processing Letters, 2011
- On the algorithmic complexity of the Mastermind game with black-peg resultsInformation Processing Letters, 2009
- On the number of queries necessary to identify a permutationJournal of Algorithms, 1986
- MastermindCombinatorica, 1983