/vachetaurau

A small puzzle game that asks the user to guess a sequence of 4 numbers in the right order. If the number is in the right position, it's a bull, if the number is in the sequence itself is not in the right place, it's a cow. At each attempt, the user is given an indication following this logic. For example, if the sequence to guess is 3945 and the user proposes 4903, then 3 and 4 are cows and 9 is a bull. We will just tell him that he had 2 cows and 1 bull without telling him which numbers are bull or cow.

Primary LanguageJavaScript

Stargazers

No one’s star this repository yet.