具有两个和三个钉的静态黑钉AB博弈的最优策略
Optimal Strategies for Static Black-Peg AB Game With Two and Three Pegs
摘要:
AB~游戏是一款类似于流行游戏Mastermind的游戏。我们研究这个游戏的一个版本称为静态黑钉AB~游戏。它由两个玩家扮演,密码制作者和密码破译者。密码制作者通过在每个$p \le c$钉上放置一组$c$颜色中的一种颜色来创建所谓的秘密,条件是每种颜色最多使用一次。密码破译者试图通过提问来确定秘密,所有的问题都是一次给出的,每个问题都是一个可能的秘密。作为一个答案,编码者揭示了每个问题正确放置的颜色的数量。在此之后,密码破译者只有一次尝试来确定秘密,从而赢得游戏。对于给定的$p$和$c$,我们的目标是找到密码破译者需要赢得的最小数量的问题$k$,而不管秘密是什么,以及相应的问题列表,称为$(k+1)$ -策略。我们提出了一个$\lceil 4c/3 \rceil-1)$ -策略的$p=2$为所有$c \ge 2$,和一个$\lfloor (3c-1)/2 \rfloor$ -策略的$p=3$为所有$c \ge 4$,并显示了这两种策略的最优性,即,我们证明了不存在用于较小$k$的$(k+1)$ -策略。
英文摘要:
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 $c$ colors on each of $p \le c$ 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 $p$ and $c$, our goal is to find the smallest number $k$ of questions the codebreaker needs to win, regardless of the secret, and the corresponding list of questions, called a $(k+1)$-strategy. We present a $\lceil 4c/3 \rceil-1)$-strategy for $p=2$ for all $c \ge 2$, and a $\lfloor (3c-1)/2 \rfloor$-strategy for $p=3$ for all $c \ge 4$ and show the optimality of both strategies, i.e., we prove that no $(k+1)$-strategy for a smaller $k$ exists.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。