Query Complexity of Mastermind Variants
Aaron Berger, Christopher Chute, and Matthew Stone

TL;DR
This paper investigates the query complexity of various Mastermind game variants, establishing bounds and algorithms for sequence reconstruction under different feedback and knowledge conditions.
Contribution
It provides new lower bounds, analyzes the performance of Knuth's algorithm, and explores the impact of feedback timing on query complexity.
Findings
Lower bound of n - log log n for permutation-based sequences
Knuth's Minimax algorithm requires at most nk queries
Query complexity is at least on the order of n log k when feedback is delayed
Abstract
We study variants of Mastermind, a popular board game in which the objective is sequence reconstruction. In this two-player game, the so-called \textit{codemaker} constructs a hidden sequence of colors selected from an alphabet (\textit{i.e.,} for all ). The game then proceeds in turns, each of which consists of two parts: in turn , the second player (the \textit{codebreaker}) first submits a query sequence with for all , and second receives feedback , where is some agreed-upon function of distance between two sequences with components. The game terminates when , and the codebreaker seeks to end the game in as few turns as possible. Throughout we let denote the smallest integer…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
