bool FBullCowGame::IsLowerCase(FString Word) const
{
if (Word.length() < 1) { return true; }
for (auto letter : Word) //loop through all the letters
{
if (!islower(letter)) { return false; }
}
return true; //fall through for strange entries
}
called from CheckGuessValidity with:
else if (!IsLowerCase(Guess))