Bulls And Cows

Here is my Third Game called Bulls And Cows created In Unreal Engine 4.

The Functionality of the game is as follows :

1. A Random word is picked from the WordList and checks whether the word Isogram(a word in which no letter is repeated) or not .

2. It displays the number of character the word contain after it’s been randomly chosen.

3. Takes the Input from the User and checks whether the entered matches with the chosen word
If it matches then user wins,
If Not then checks for following conditions :
a) whether the entered word’s length matches with chosen word’s length.
b) whether the entered word is an Isogram

In all these cases in where the word doesn’t match with chosen word, Lives will be reduced by one.
A User is given twice the word length as Lives.
e.g chosen word : plate
Lives given to User : 2*5 =10; (Word length is five);

On further, if there are any characters in the word entered by User is in the same position as of Chosen Word, then Number of Bulls count will be increased.

eg. chosen word : cakes
user word: bakes
Bulls will be 4, as the position of the characters in the user word are same in chosen word

If there are any characters in the word entered by the User is present in the chosen word but not in the same position, then Number of Cows count will be increased.

eg. chosen word : plum
user word : maps
Cows will be 2, as the chosen word contains the letters ‘p’ and ‘m’ but in different positions.


Git Hub :

https://github.com/d3stryr/BullCowGame.git



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.