Optimal Strategies for Static Black-Peg AB Game With Two and Three Pegs
From MaRDI portal
Publication:6413435
arXiv2210.04652MaRDI QIDQ6413435FDOQ6413435
Publication date: 10 October 2022
Abstract: The AB~Game is a game similar to the popular game Mastermind. We study a version of this game called Static Black-Peg AB~Game. It is played by two players, the codemaker and the codebreaker. The codemaker creates a so-called secret by placing a color from a set of colors on each of pegs, subject to the condition that every color is used at most once. The codebreaker tries to determine the secret by asking questions, where all questions are given at once and each question is a possible secret. As an answer the codemaker reveals the number of correctly placed colors for each of the questions. After that, the codebreaker only has one more try to determine the secret and thus to win the game. For given and , our goal is to find the smallest number of questions the codebreaker needs to win, regardless of the secret, and the corresponding list of questions, called a -strategy. We present a -strategy for for all , and a -strategy for for all and show the optimality of both strategies, i.e., we prove that no -strategy for a smaller exists.
This page was built for publication: Optimal Strategies for Static Black-Peg AB Game With Two and Three Pegs
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q6413435)