Rules, pen and paper play, strategy, classroom resources, and game modes
Bulls and Cows is a classic number-logic puzzle where you crack a hidden 4-digit code using deduction. It is closely related to Mastermind, but uses digits instead of coloured pegs.
Play now: Daily Game · Bull Rush · Unlimited Play · ⚔️ Multiplayer
Rules · Example · Pen & paper · Strategy · Teachers & printable resources · Game modes
The aim is to guess a secret 4-digit number. In the classic version, each digit is different, so there are no repeated digits.
After each guess, you receive two pieces of feedback:
You use those clues to narrow down the possibilities until you find the hidden code.
Quick version: Guess a 4-digit code with no repeated digits. Bulls are right digit, right place. Cows are right digit, wrong place. Reach 4 Bulls to win.
Secret code: 4271
Guess: 1234
Result: 1 Bull, 2 Cows
Why?
That is the heart of the game: every guess gives you information to reuse on the next one.
Try it now: Play the Daily Game or use Unlimited Play to practise with fresh codes.
Bulls and Cows started as a simple pen and paper game, and it still works beautifully that way. One player creates the secret number and the other records guesses in a table.
Typical paper layout
Attempt 1 — 1234 — Bulls: 1 — Cows: 2
Attempt 2 — 1427 — Bulls: 2 — Cows: 2
Attempt 3 — 4271 — Bulls: 4 — Cows: 0
Pen and paper play is great for classrooms, family games, travel, and head-to-head play because it trains structured thinking without needing any devices.
Good players treat the game like a logic grid: every guess should eliminate possibilities.
If you use Bulls and Cows in class, visit the Teachers’ Guide. It includes classroom setup ideas, strategy prompts, a printable tracking grid, and a direct link to Haystack, where you can build your own single-solution Bulls and Cows-style puzzles.
Haystack is useful for extension work, bell-ringers, LMS links, printable clue sets, or assigning different difficulty levels to different groups.
A simple teacher flow is: introduce the rules here, hand out the tracking grid, and then use Haystack to generate a custom puzzle for the class.
The site includes several versions of the game and closely related deduction puzzles, so players can choose between a classic daily puzzle, faster clue-based twists, open practice, and multiplayer challenges.
The classic Bulls and Cows experience. Everyone gets the same daily 4-digit puzzle, so you can compare results, build streaks, and share your score.
A twist on the classic game. Instead of starting from scratch, you are given five clues and must deduce the daily code from those clues. It is faster, tighter, and more puzzle-like.
Practice as much as you like with fresh games. This is ideal for improving strategy, teaching new players, or just enjoying the logic without waiting for tomorrow’s daily code.
Challenge another player and test your deduction skills head-to-head. This turns Bulls and Cows into a direct duel where both logic and tempo matter.
A closely related clue game using the classic Bagels terminology: Fermi for right digit and place, Pico for right digit wrong place, and Bagels when none of the digits appear.
Another logic variant on the site, built for players who enjoy cracking codes and narrowing possibilities under slightly different rules and framing.
Play the Daily Bulls and Cows Game · Play Bull Rush · Play Unlimited Games · For Teachers
Bulls and Cows is simple to learn but rewarding to master. It teaches deduction, elimination, pattern recognition, and disciplined guessing. That is why it has survived as a pen and paper game, a classroom activity, a programming exercise, and an online daily puzzle.
If you want the classic experience, start with the daily game. If you want a faster twist, try Bull Rush.