About Numbun
Go BackNumbun is a logic-based number guessing game that brings a traditional paper-and-pencil folk game straight to your browser. After each guess, the game shows how many digits are in the correct position and how many correct digits are in the wrong position with + and - clues. Your goal is to combine those clues, eliminate impossible combinations, and reach the secret number in as few guesses as possible. Numbun is completely free, ad-free, and designed to respect your privacy.
For contact and privacy questions, see the Privacy Policy. You can also email hello@numbun.com.
Known by many names around the world
This game family is most widely known in English as Bulls and Cows. In the classic rule set, a "bull" represents a correct digit in the correct position, while a "cow" means a correct digit in the wrong position. The game is traditionally described as a paper-and-pencil, code-breaking game of pure deduction [1].
The same core concept appears under various names around the world. In Chinese-speaking regions, it is commonly called 1A2B or 猜數字, where "A" marks a correct digit in the correct spot and "B" marks a correct digit in the wrong spot [2]. In Japan, similar versions are often known as Hit & Blow, a term that, along with "Cow & Bull," also appears in early technical documentation for the Multics game MOO [3].
In Korea, closely related number-guessing games are known as Number Baseball (숫자야구), using baseball terms like strike, ball, and out for clues. Depending on the region, you might also run into names like Picas y Fijas in Spanish, Taureaux et Vaches in French, Bullen und Kühe in German, Touros e Vacas in Portuguese, Быки и коровы in Russian, or Numerino and Numerello in Italian. These names don't need to share a single, definitive origin. Instead, they are simply local expressions of a universal logic concept that effortlessly travels across languages and cultures [4].
A short history
The exact origin of this game family is hard to pin down because it behaves more like a paper-and-pencil folk game than a single authored invention. Encyclopedic accounts describe Bulls and Cows as older than later commercial code-breaking board games, and Multics historical notes record Jerry Grochow's caution that MOO/Bulls and Cows was, as far as he knew, already a century-old game [1] [5].
The computer-era trail is better documented. Grochow's 1972 Software: Practice and Experience note says Cambridge's MOO was already popular when John Larmouth brought the idea to MIT in summer 1970, leading to a Multics version with a public score ladder and thousands of recorded games [6]. A 1971 Decuscope listing for MOO or BULLS and COWS shows the same four-digit bull/cow rules circulating through DECUS program-sharing culture for PDP and TSS/8 users [7]. Later, Donald E. Knuth's work on Master Mind showed that games in this code-breaking family were not only entertaining but also interesting algorithmic strategy problems; Knuth gave a constructive strategy that can identify any classic Master Mind code in at most five guesses [8].
References
- [1]Wikipedia contributors, “Bulls and cows,” Wikipedia, The Free Encyclopedia. Accessed: Jun. 5, 2026. [Online]. Available: https://en.wikipedia.org/wiki/Bulls_and_cows
- [2]C.-L. Liu, “數學、資訊科學與數字遊戲,” 科學月刊, vol. 32, no. 3. Accessed: Jun. 5, 2026. [Online]. Available: https://www.cs.nccu.edu.tw/~chaolin/papers/science3203.pdf
- [3]T. Tanaka, “The minimum strategy and the strongest strategy of the number guessing game MOO.” Accessed: Jun. 5, 2026. [Online]. Available: https://www.tanaka.ecc.u-tokyo.ac.jp/ktanaka/moo/moo-en.html
- [4]M. Carpignano, “Numerino,” PerGioco.net. Accessed: Jun. 5, 2026. [Online]. Available: https://www.pergioco.net/a/numerino.html
- [5]Multicians contributors, “moo,” Multics Glossary -M-. Accessed: Jun. 5, 2026. [Online]. Available: https://multicians.org/mgm.html
- [6]J. M. Grochow, “MOO in Multics,” Software: Practice and Experience, vol. 2, pp. 303-308, 1972. Accessed: Jun. 5, 2026. [Online]. Available: https://multicians.org/moo-in-multics-1972.pdf
- [7]L. Johnston, “MOO or BULLS and COWS,” Decuscope, vol. 10, no. 1, p. 29, 1971. Accessed: Jun. 5, 2026. [Online]. Available: https://www.bitsavers.org/pdf/dec/decus/decuscope/Decuscope_Vol10_1971.pdf
- [8]D. E. Knuth, “The Computer as Master Mind,” Journal of Recreational Mathematics, vol. 9, no. 1, pp. 1-6, 1976-1977. Accessed: Jun. 5, 2026. [Online]. Available: https://www.cs.uni.edu/~wallingf/teaching/cs3530/resources/knuth-mastermind.pdf