Bulls and Cows is an old code breaking mind game.
The goal of this game is to guess a 4-digit number within the least number of attempts possible.
With every guess, you will get a feedback indicating how many Bulls and Cows you got with the guess.
A Bull means: one of the digits is correct, and is also at the right place.
A Cow means: one of the digits is a right number, but not at the right place.
For example, given that the answer is 0130, a guess of 3610 will receive 1 Bull 2 Cows. 1 Bull is 0, 2 Cows are 1 and 3.
This project was bootstrapped with Create React App.
The app can be seen in action here.
- Clone this repository and go into its src folder.
- Run
npm install
- Run
npm start
- Go to
http://localhost:3000
to view the app