Hey Chris,
Congratulations on completing this section of the course and publishing your game - no small achievement so well done
Regarding feedback - I noted that your passwords are case-sensitive, e.g. if the hint was “dnayc” entering “CANDY” isn’t counted as correct.
You could of course leave it as such, although you may want to include a note somewhere that states about the password case-sensitivity. If you wanted to support any case that the player enters you can use string methods like ToUpper()
and ToLower()
, you’d do this on both the player’s input and also the anagram, not for display, just in the evaluation.
Example;
public void Example()
{
string password = "candy";
string input = "CaNdY"; // allow for crazy player
if(password.ToUpper() == input.ToUpper())
{
// case-insensitive password match
}
}
Hope the above is of use and well done again