OpenIQ Devices
← Back

4 Digits - Classic 4 digits bulls and cows game

· v0.4
★★★★★ (4) ↓ 100 downloads 2 Free

About

Bulls and Cows (also known as Cows and Bulls or Pigs and Bulls) is a code-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 board game version, Mastermind and the word-based version predates the hit word game Wordle. A version known as MOO was widely available for early mainframe computers, Unix and Multics systems, among others. The numerical version The numerical version of the game is usually played with 4 digits, but can be played with any number of digits. On a sheet of paper, the players each write a 4-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.[1] This version ran on Cambridge's multi-user operating system on their Titan machine. It became so popular the administrators had to introduce systems to prevent it from clogging the system.[2] In 1972, the original Cambridge MOO was ported to the Multics operating system at MIT,[1] and early Unix at AT&T.[3] 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.[4][5] 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.[6][7] 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.[8] It is proved that any number can be solved within seven turns. The average minimal game length is 26274/5040 ≈ 5.21 turns.[9][10] ref: https://en.wikipedia.org/wiki/Bulls_and_Cows

What's new

0.4 Add support for Venu3 series. 0.3 Add vibration when input,add Chinese support. 0.2 Support swipe up & down to view the whole history. 0.1 Initial version.

Details

Compatible with 61 devices
Updated Nov 15, 2023
Open on apps.garmin.com ↗