Bulls and Cows is a code-breaking mind, The game is played in turns by two opponents who aim to decipher the other's secret code by trial and error.
This project is designed as player vs computer.
- Choose the number of guesses (between 4 and 10) you wish to play(Image 1).
- The computer will generate a random sequence of colors the player needs to guess, the sequence covered by black squares (Image 2)
- You need to select a sequence of colors as you seem it`s fit (Image 3).
-
By pressing the arrow button you can submit your guess and receive feedback represents as colors(Images 4,5):
- Black - you guessed the color and the position correctly.
- Yellow -you guessed the color correctly but the position is incorrect
Note : the feedback position is not relative to the guess.
- precede submitting your guesses until you guess correctly sequence, or you run out of attempts(Image 6,7,8).
This project was writing in C# using .Net framework.