Crack today's 4-digit code in 10 guesses
Every guess tells you how close you are. ๐ฏ means a digit is right and in the right place, ๐ means it's in the code but somewhere else. Everyone gets the same code today.
Long-press a digit (or right-click) to cross it out in your notes.
A strategy that cracks most codes in 7 guesses
Where this game comes from
Bulls and cows is a pencil-and-paper code game that's at least a century old, and the board game Mastermind is a coloured-peg version of it. It's a pure deduction puzzle: there's no luck after your first guess, only reasoning about what each answer rules out.
If you like the feeling of numbers clicking into place, that's the itch our iPhone game Sumbriska scratches too, with island sums instead of a code.
Free tool by Sumbriska ยท Get the iPhone app
Add this free tool to your website
Teachers, bloggers and community sites are welcome to embed it. Copy this code:
Sumbriska is a quiet number puzzle for iPhone: each island shows a target, and you flip bridges to send numbers between islands until every sum lands exactly. Calm, clever and free.
Free on the App StoreQuestions
How do you play bulls and cows?
There is a secret 4-digit code with no repeated digits. Type a guess. A bull (๐ฏ) means a digit is correct and in the right place. A cow (๐) means the digit is in the code but somewhere else. Use the clues to crack it within 10 guesses.
Can the code start with 0?
Yes. Any digit 0 to 9 can be in any position, but each digit appears at most once.
Is the daily code the same for everyone?
Yes. The daily code is built from today's date, so you can compare guess counts with friends. Practice mode gives a fresh random code every time.
What is the sum hint?
Tap Sum hint to see what the four digits add up to. It is a big clue, so your result shows that you used it.
What is the best strategy?
Start with two guesses that share no digits, such as 0123 and 4567. Between them they tell you how many of your code's digits are 8 or 9. Then change one digit at a time to learn positions.
Is this the same as Mastermind?
It is the number version of the same idea, and it is older: bulls and cows was played with pencil and paper long before the board game existed.
Updated November 11, 2026.
- Play Reach the NumberA free daily math puzzle: combine four numbers with + โ ร รท to hit the target, like the 24 game. One shared puzzle a day plus endless mode, undo, hints and a streak. No sign-up.
- Hashi Bridges alternativeLove Hashi bridge puzzles? Sumbriska is a quiet number puzzle where you flip bridges until every island hits its sum. No ads, no account, offline.
- Make 24 number gamePlay the 24 game free in your browser: combine four numbers with + โ ร รท to make exactly 24. Every deal is solvable, with hints, undo and a streak.