public AkinatorAnswer Invoke(IAkinator akinator, string input) { var name = ""; var words = input.Split().Skip(1).ToArray(); for (var i = 0; i < words.Length - 1; i++) { name += words[i] + " "; } name += words.Last(); akinator.AddCharacter(name); return(null); }
public AkinatorAnswer Invoke(IAkinator akinator, string input) { return(akinator.Start()); }
public AkinatorAnswer Invoke(IAkinator akinator, string input) { return(akinator.NextQuestion(UserAnswer.DontKnow)); }
public AkinatorAnswer Invoke(IAkinator akinator, string input) { akinator.Save(); return(null); }