AB (game)
{{Short description|Two-player number-guessing game}}
AB, a variant of the board game Mastermind, is a number guessing game involving two players. The codemaker makes a four-digit number with no repeats, and the codebreaker tries to guess this number in as few moves as possible. When the codebreaker makes a guess, the codemaker says the amount of “A”s, or the correct digits in the number as well as in the right place, and the amount of “B”s, or the correct digits in the number that is not in the right place.{{cite web|url=https://luckytoilet.wordpress.com/2011/11/07/solving-the-ab-game-by-brute-force/|title=Solving the AB Game by Brute Force|date=November 8, 2011|website=luckytoilet.wordpress.com}}{{cite journal | last1=Jäger | first1=Gerold | last2=Peczarski | first2=Marcin | title=The worst case number of questions in Generalized AB game with and without white-peg answers | journal=Discrete Applied Mathematics | volume=184 | year=2015 | doi=10.1016/j.dam.2014.10.032 | pages=20–31| arxiv=1306.1713 | s2cid=6738048 }}{{cite arXiv | last1=Ouali | first1=Mourad El | last2=Glazik | first2=Christian | last3=Sauerland | first3=Volkmar | last4=Srivastav | first4=Anand | title=On the Query Complexity of Black-Peg AB-Mastermind | date=2016 | eprint=1611.05907 | page=| class=cs.DS }}
References
{{reflist}}
External links
- [https://ab.muan.co/ AB website implementation by Mu-An]
Category:Games of mental skill
{{game-stub}}