English
Related papers

Related papers: Mastermind with a Linear Number of Queries

200 papers

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.…

Data Structures and Algorithms · Computer Science 2013-01-18 Benjamin Doerr , Carola Doerr , Reto Spöhel , Henning Thomas

Permutation Mastermind is a version of the classical mastermind game in which the number of positions $n$ is equal to the number of colors $k$, and repetition of colors is not allowed, neither in the codeword nor in the queries. In this…

Combinatorics · Mathematics 2022-01-12 Maxime Larcher , Anders Martinsson , Angelika Steger

Mastermind is famous two-players 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, codemaker's duty is to help…

Data Structures and Algorithms · Computer Science 2020-03-27 Moura El Ouali , Volkmar Sauerland

From the 1970s up to now, Mastermind, a classic two-player game, has attracted plenty of attention, not only from the public as a popular game, but also from the academic community as a scientific issue. Mastermind with n positions and k…

Quantum Physics · Physics 2023-02-14 Lvzhou Li , Jingquan Luo , Yongzhen Xu

Mastermind game is a two players zero sum game of imperfect information. The first player, called codemaker, chooses a secret code and the second player, called codebreaker, tries to break the secret code by making as few guesses as…

Data Structures and Algorithms · Computer Science 2016-11-21 Mourad El Ouali , Christian Glazik , Volkmar Sauerland , Anand Srivastav

In the past three decades, deductive games have become interesting from the algorithmic point of view. Deductive games are two players zero sum games of imperfect information. The first player, called "codemaker", chooses a secret code and…

Data Structures and Algorithms · Computer Science 2013-03-27 Mourad El Ouali , Volkmar Sauerland

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 $H = (h_1, h_2, \ldots, h_n)$ of colors selected…

Combinatorics · Mathematics 2017-09-27 Aaron Berger , Christopher Chute , Matthew Stone

Mastermind is a popular board game released in 1971, where a codemaker chooses a secret pattern of colored pegs, and a codebreaker has to guess it in several trials. After each attempt, the codebreaker gets a response from the codemaker…

Computer Science and Game Theory · Computer Science 2012-03-15 Giovanni Viglietta

We analyze the classic board game of Mastermind with $n$ holes and a constant number of colors. A result of Chv\'atal (Combinatorica 3 (1983), 325-329) states that the codebreaker can find the secret code with $\Theta(n / \log n)$…

Data Structures and Algorithms · Computer Science 2015-03-19 Benjamin Doerr , Carola Winzen

In this paper, we study the algorithmic complexity of the Mastermind game, where results are single-color black pegs. This differs from the usual dual-color version of the game, but better corresponds to applications in genetics. We show…

Data Structures and Algorithms · Computer Science 2009-05-13 Michael T. Goodrich

A query game is a pair of a set $Q$ of queries and a set $\mathcal{F}$ of functions, or codewords $f:Q\rightarrow \mathbb{Z}.$ We think of this as a two-player game. One player, Codemaker, picks a hidden codeword $f\in \mathcal{F}$. The…

Combinatorics · Mathematics 2023-07-11 Anders Martinsson

We close the gap in the proof (published by Chen and Lin) of formulas for the minimum number of questions required in the expected case for Mastermind and its variant called AB game, where both games are played with two pegs and $n$ colors.…

Combinatorics · Mathematics 2018-08-14 Marcin Peczarski

Mastermind is in essence a search problem in which a string of symbols that is kept secret must be found by sequentially playing strings that use the same alphabet, and using the responses that indicate how close are those other strings to…

Neural and Evolutionary Computing · Computer Science 2012-07-06 J. J. Merelo , Antonio M. Mora , Carlos Cotta , Thomas P. Runarsson

We consider the discrepancy problem of coloring $n$ intervals with $k$ colors such that at each point on the line, the maximal difference between the number of intervals of any two colors is minimal. Somewhat surprisingly, a coloring with…

Data Structures and Algorithms · Computer Science 2010-12-20 Antonios Antoniadis , Falk Hüffner , Pascal Lenzner , Carsten Moldenhauer , Alexander Souza

We study the query complexity of a permutation-based variant of the guessing game Mastermind. In this variant, the secret is a pair $(z,\pi)$ which consists of a binary string $z \in \{0,1\}^n$ and a permutation $\pi$ of $[n]$. The secret…

Data Structures and Algorithms · Computer Science 2018-12-21 Peyman Afshani , Manindra Agrawal , Benjamin Doerr , Carola Doerr , Kasper Green Larsen , Kurt Mehlhorn

Golovach, Paulusma and Song (Inf. Comput. 2014) asked to determine the parameterized complexity of the following problems parameterized by $k$: (1) Given a graph $G$, a clique modulator $D$ (a clique modulator is a set of vertices, whose…

Data Structures and Algorithms · Computer Science 2019-07-30 Gregory Gutin , Diptapriyo Majumdar , Sebastian Ordyniak , Magnus Wahlström

In the Generalized Mastermind problem, there is an unknown subset $H$ of the hypercube $\{0,1\}^d$ containing $n$ points. The goal is to learn $H$ by making a few queries to an oracle, which, given a point $q$ in $\{0,1\}^d$, returns the…

Data Structures and Algorithms · Computer Science 2024-09-11 Milind Prabhu , David Woodruff

This paper presents an optimal strategy for solving the 4 peg-7 color Mastermind MM(4,7) in the expected case (4.676) along with optimal strategies or upper bounds for other values. The program developed is using a depth-first branch and…

Computer Science and Game Theory · Computer Science 2013-05-07 Geoffroy Ville

We introduce an extension of Mastermind called Clear Mastermind with enhanced feedback inspired by that from Wordle. The only difference between Clear Mastermind and Mastermind is a rule that provides more precise feedback, as found in…

Combinatorics · Mathematics 2024-03-28 Renyuan Li , Shenglong Zhu

In the first-order query model for zero-sum $K\times K$ matrix games, players observe the expected pay-offs for all their possible actions under the randomized action played by their opponent. This classical model has received renewed…

Computer Science and Game Theory · Computer Science 2023-11-03 Hédi Hadiji , Sarah Sachs , Tim van Erven , Wouter M. Koolen
‹ Prev 1 2 3 10 Next ›