So in my attempt to make the BullsCows game I simply did this to make a variable difficulty setting which scales with the words you provide instead of having the amount of attempts static.
From FBullCowGame.cpp
int32 FBullCowGame::GetMaxTries() const
{
int32 tries = ceil(MyHiddenWord.length() * 0.5);
return tries;
}
Let me know what you think.