Product Code Database
Example Keywords: dress -angry $8-104
barcode-scavenger
   » » Wiki: Bulls And Cows
Tag Wiki 'Bulls And Cows'.
Tag

Bulls and cows
 (

Rank: 100%
Bluestar Bluestar Bluestar Bluestar Blackstar

Bulls and cows (also known as cows and bulls or pigs and bulls) is a -breaking mind or paper and pencil game for two or more players. The game is played in turns by two opponents who aim to decipher the other's secret code by trial and error.

Bulls and cows predates the commercially marketed version, Mastermind and the word-based version predates the hit word games Lingo and . A version known as MOO was widely available for early computers, and systems, among others.


The numerical version
The numerical version of the game is usually played with four digits, but can be played with any number of digits.

On a sheet of paper, the players each write a four-digit secret number. The digits must be all different. Then, in turn, the players try to guess their opponent's number who gives the number of matches. The digits of the number guessed also must all be different. If the matching digits are in their right positions, they are "bulls", if in different positions, they are "cows". Example:

  • Secret number: 4271
  • Opponent's try: 1234
  • Answer: 1 bull and 2 cows. (The bull is "2", the cows are "4" and "1".)

The first player to reveal the other's secret number wins the game.

The game may also be played by two teams of players, with the team members discussing their strategy before selecting a move.

Computer versions of the game started appearing on mainframes in the 1970s. The first known version was written by Frank King at the Cambridge Computer Laboratory sometime before the summer of 1970. This version ran on Cambridge's multi-user on their Titan machine. It became so popular the administrators had to introduce systems to prevent it from clogging the system. In 1972, the original Cambridge MOO was ported to the operating system at MIT, and reimplemented on early at .

A version called BASIC MOO was published in the DECUS Program Library for PDP computers and another was available through the DEC Users Society, both dating from 1971. A version written by Lane Hauck in the language FOCAL for the PDP-8 later served as the basis for the handheld game Comp IV by Milton Bradley.

These programs maintained a league table of players' scores, and protecting the integrity of this league table became a popular case study for researchers into computer security.

It is proved that any number can be solved within seven turns. The average minimal game length is turns.


See also
  • , a similar game with words
  • Lingo (American game show), a game show that contains word puzzles with similar gameplay
  • Mastermind, a commercial board game based on this game
  • Guessit.org, an online variant which allows repeated digits
  • bullsandcowsgame.com, provides an online version of the game, featuring daily challenges and a leaderboard. It's popular among enthusiasts looking to play the game online.


External links

Page 1 of 1
1
Page 1 of 1
1

Account

Social:
Pages:  ..   .. 
Items:  .. 

Navigation

General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 

Statistics

Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs