This game is developeted for a java course project.
It's a number guessing game using "Vache" and "Taureau" as the key words (Yes they are the french words for Cow and Tauraus !)
How it works
- Input = a number of 4 digits with no repeating number ( 1234 or 4521 or 4789 and NOT 4456)
- Output x Vache and y Taureau Vache = The number guessed exists but is not in the right place
- You have 10 tries to guess the number (When you get 4 Taureau)
Taureau = The number guessed exists and is in the right place
the number we are trying to guess is 1234
- Try n° 1 : 1145
- Invalid input ! No repeating numbers !
- Give another guess
- Try n° 2 : 4569
- 1 V & 0 T
- Give another guess (PS :The outpu does not specify which number is V or T, We have to use our brains to figure it out)
- Try n° 3 : 1246
- 1 V 2 T
- Give another guess
- Try n° 4 : 1234
- 0 V 4 T
- Good Job ! you fisured it out in 4 guesses only !
- 📫 How to reach me : [email protected]