Sign inRegister

Bulls and Cows

Crack the hidden code from its bulls and cows.

By playing you agree to the Terms and the Privacy Policy, and that you are 13 or older.

No sign-up needed: your progress saves on this device. Add an email later to keep it everywhere.

Have an account? Sign in

Bulls and Cows

Crack the hidden code from its bulls and cows.

The classic code-guessing game: guess the hidden code, read your bulls and cows, and crack it in as few guesses as you can. Digits, two color modes, 300 levels and a daily code.

Classics · Puzzles · Daily · Live: progress is saved to your account

Phone-first: the game plays in portrait at any size.

Play now starts at once with no sign-up: your tokens, XP and place on the leaderboards save on this device, and adding an email later keeps them everywhere.

How to play Bulls and Cows

Bulls and Cows is the classic code-breaking and number guessing game, free to play online: guess the hidden code, read how many bulls and cows each guess scores, and crack it before your guesses run out. Play four different digits, or colored pegs in Colors and Five pegs, with 300 levels and a daily code that is the same for everyone.

The goal

Find the hidden code in as few guesses as you can, before you run out: 10 guesses in Digits and Colors, 12 in Five pegs. Fewer guesses earn more stars and more points.

Rules

  • Digits hides 4 different digits from 0 to 9, and a leading 0 is allowed. Colors hides 4 pegs from 6 colors, and Five pegs hides 5 pegs from 8 colors. In both color modes a color can repeat.
  • Every color also has its own shape: red circle, blue square, yellow triangle, green diamond, purple star, orange hexagon, pink cross and cyan heart.
  • Each guess is scored in bulls and cows. A bull is a right symbol in the right place. A cow is a right symbol in the wrong place.
  • Repeated colors count only as often as the code holds them. With the code red red green blue and the guess red green red red, the first red is a bull. The code holds only two reds, so only two of the guess's three reds count, and with the green that makes 3 shared, less the bull: 2 cows.
  • A guess is refused, and does not count, if a slot is empty, if it repeats a digit in Digits, or if you already tried that code in this game.
  • You crack the code when every symbol is a bull. Using your last guess without cracking it loses the game, and the code is shown.
  • Stars: three stars within 7 guesses in Digits, 5 in Colors and 8 in Five pegs. Two stars within two more, and one star for any win.
  • Points are 10 in Digits, 6 in Colors or 12 in Five pegs for each guess you had left, plus one. Digits cracked in 7 guesses scores 10 x 4 = 40.
  • Only a level's first attempt and the counted daily on its own UTC date score points. A loss, a give-up, a replay, an archive code and a game with any hint score 0.
  • The clock stops only while the board is hidden: Pause, leaving the play screen or leaving the page. Other questions on screen leave it running.

Controls

  • Tap the symbols on the keypad to fill the row from the left, then tap Guess. Delete removes the last symbol, and tapping a filled slot clears it.
  • Notes opens a grid of places and symbols. Tap a cell to cross that symbol out of that place, again to circle it in, and again to clear it. Notes never change the score.
  • Hint asks first, then strikes every cell of the notes grid that the clues so far rule out and says how many codes still fit. When 12 or fewer fit, it lists them. You need at least one guess before a hint.
  • Pause hides the board and stops the clock. From there you can Resume, Give up (the code is shown and it counts as lost) or go back.
  • On a keyboard: type 0-9 in Digits, or 1-6 and 1-8 for the pegs in Colors and Five pegs. Backspace deletes, Enter guesses, N opens notes, ? asks for a hint, and Escape or Space pauses. On the results, Enter picks the first button.
  • How to play has a Show timer setting. The clock runs either way.

Modes

  • Daily: one code a day, the same for everyone, new at 00:00 UTC. Its mode follows the UTC day of the week: Digits on Sunday, Monday, Wednesday and Friday, Colors on Tuesday and Thursday, and Five pegs on Saturday. Its board ranks fewest guesses, then time.
  • Levels: 100 codes for each of Digits, Colors and Five pegs, 300 in all. Every level is open, so you choose what to play next.
  • Archive: the daily codes of the last 7 UTC days. Archive codes count as played, but they earn no points, XP or streak.
  • Learn: on your first visit, one guided Digits code with tips along the way. It is not ranked.
  • Day streak: win the counted daily on consecutive UTC days to grow your streak. Losing or giving up the counted daily sets the streak back to 0.

Tips

  • Use your first guesses to find which symbols are in the code at all, then work out where they go.
  • Every scored guess must fit with all the rows before it. A guess that could be the code is often the best next try.
  • Cross out symbols in Notes as soon as a guess rules them out. A guess with 0 bulls and 0 cows rules out every one of its symbols everywhere.
  • A guess with 0 bulls tells you none of its symbols sits where you put it, so you can cross each one out of that slot.
  • In the color modes, try repeating a color to learn how many times it appears.
  • With perfect play, 7 guesses always suffice in Digits and 5 in Colors, so three stars are within reach on every code.

Questions

›Is Bulls and Cows free to play?

Yes. Bulls and Cows is free in your browser with no download, and you can play as a guest without an email address. Register on the site to earn XP, use tokens and join the daily board.

›What are bulls and cows?

They are the two counts each guess gets. A bull is a symbol that is in the code in that exact place. A cow is a symbol that is in the code but in a different place. The game shows bulls as filled dots and cows as hollow rings.

›How many guesses does it take?

With perfect play, 7 guesses always suffice in Digits and 5 always suffice in Colors. In Five pegs our solver never needs more than 8. You get 10 guesses in Digits and Colors and 12 in Five pegs.

›What does a hint do, and what does it cost?

A hint strikes every place and symbol the clues rule out on the notes grid, says how many codes still fit, and lists them when 12 or fewer do. It never shows the code unless only one fits. A game with any hint is not ranked: no points and no board, and a hinted win earns one star. A new player starts with 3 hints, and the shop sells packs of 5. With none left, you can choose to watch an optional ad for one hint, once per game.

›How does the daily code count?

The first daily you open each UTC day is your counted game, and its clock starts when its board is shown. Giving it up records it as lost, so there is no second try for the board that day. A daily finished after 00:00 UTC of the next day goes on no board, but it still counts for its own date's streak.

›Can I replay a level?

Yes, every played level still opens. A level pays only on its first attempt, win or lose. A replay deals the same code you have already seen, so nothing is recorded.

›Does Bulls and Cows save my progress?

Yes. Your played levels, stars, points, streak and games in progress are saved, notes included. A game you come back to starts paused, and the time you were away is not counted.

›What can I spend tokens on?

Tokens are earned by playing. The shop sells Slate, Meadow, Night and Sunset boards, Gem and Marble pegs, Chalk digits, Herd markers, hint packs of 5 and day streak freezes. You can hold 2 freezes. Nothing in the shop changes the code, the guesses allowed or the clock.