Skip to content

isqua/bulls-and-cows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bulls and cows

Play now!

How to play

Computer has picked a number of four different digits. Your goal is to guess it. Input a four-digit number into a text field, then press Enter. You’ll see the answer:

1 b 2 c

where 1 is number of “bulls” — the digits located in your number in the same position as in computer number, and 2 is number of “cows” — the matching digits placed on different positions.

Example:

Computer: 1945
You:      1492
Answer:   1b, 2c
(The bull is “1”, the cows are “4 and “9”)

Releases

No releases published

Packages

No packages published