Getting strange bulls

Hey guys!

When trying to ‘break’ the game i’m getting a bit of weird occurrence when i type /n as a guess. I assume that is because the Command Prompt inputs /n as a particular character?

There is the loop that checks for bulls and cows:

Here is where I say what the hidden word is:

That is what I get when i type /n as a guess but my word doesn’t contain / or n:

I tried just using symbols as well and instead of getting a cow, i get a bull where it shouldn’t be.
Both of the ‘words’ are isograms and neither contain the same letters or characters together

Here is just symbols as the word:

This is the output when i type /n:

Is there anyone able to shed some light on why this happens?


Privacy & Terms