Optimal Strategies for Static Black-Peg AB Game With Two and Three Pegs
Gerold J\"ager, Frank Drewes

TL;DR
This paper determines optimal question strategies for the Static Black-Peg AB Game with two and three pegs, providing exact minimal question counts and proving their optimality across various color sets.
Contribution
It introduces specific minimal-question strategies for p=2 and p=3 pegs, and proves these strategies are optimal for all relevant color counts.
Findings
For p=2, a (ceil(4c/3)-1)-question strategy is provided.
For p=3, a (floor((3c-1)/2))-question strategy is given.
Both strategies are proven to be optimal, with no smaller question count possible.
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…
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.
Taxonomy
TopicsComputability, Logic, AI Algorithms · Coding theory and cryptography
