Play Bulls and Cows Online Free

Crack a hidden four-shape code using black and white peg clues, with three levels and a daily puzzle.

Bulls and Cows title screen on SZ Games
  • Touch ready

Bulls and Cows is an old code-breaking game played with logic and a little patience. The game hides a code of four shapes. You guess, it scores your guess with pegs, and you use those clues to close in. This version comes from Christopher Müller’s open-source PaperGames set and uses six plain shapes instead of colors, so it stays easy to read on any screen.

The Secret Code

There are four slots. Each holds one of six shapes: circle, square, triangle, diamond, star or cross. Your job is to find the exact shape in each slot before you run out of tries.

Making a Guess

Tap a slot to cycle through the shapes. Fill all four, then press Submit guess. Your guess moves into a list below the board along with its clue pegs, so you can look back at every attempt.

Reading the Pegs

  • Black peg: one shape is right and in the right slot.
  • White peg: one shape is in the code but in a different slot.

The pegs tell you how many, never which. Each shape in the code can only match once, so a repeated shape in your guess will not earn extra pegs. Getting four black pegs wins the round.

How to Control Bulls and Cows

Input guide for Bulls and Cows
To do thisOn a keyboardWith a mouseOn a touchscreen
Swap the shape in a slotTab onto the slot, then press Enter to cycleClick a slot to step through the six shapesTap a slot to step through the six shapes
Submit your guess for checkingTab onto "Submit guess", then press EnterHit "Submit guess"Tap "Submit guess" on screen
Generate a new code—Pick a level, then hit "New game" (expand "Menu" if it's hidden)Pick a level, then tap "New game" (expand "Menu" if it's hidden)
Try the shared puzzle of the day—Hit "Daily Challenge"Tap "Daily Challenge" on screen

Levels and the Daily Puzzle

Easy uses four different shapes and gives you 12 guesses. Medium allows repeats and gives 10. Hard allows repeats and gives only 8. The Daily Challenge is a shared Medium code that changes each day, so friends can compare how many guesses they needed.

Sharper Deduction

  • Start broad. A first guess with four different shapes tells you the most.
  • Change little between guesses. Swap one or two slots so you can tell which change moved the pegs.
  • Treat zero pegs as a gift. If a guess scores nothing, all four of its shapes are out.
  • Expect doubles on harder levels. A shape that earned a peg might still appear again.
  • Test against the history. Before you submit, check that your guess fits every past clue.

Good to Know

Your game in progress is saved in the browser. It plays well on phones held upright. If you like this kind of logic, try Logic Mines or the wider puzzle games list.

Last played and checked by SZ Games:

Bulls and Cows – Questions and Answers

How many guesses do I get?

It depends on the level. Easy gives 12, Medium gives 10 and Hard gives 8. A counter above the slots shows what is left.

Can the code use the same shape twice?

On Easy, no, all four shapes differ. On Medium and Hard, a shape can repeat, which makes the clues harder to read.

How is the daily code chosen?

Your browser builds it from the date. Every player gets the same Medium puzzle that day, and nothing is sent to a server.

What if I run out of guesses?

The game reveals the code so you can see where your reasoning went off. Then you can start a new one.

Try Something Different