Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public AkinatorAnswer Invoke(IAkinator akinator, string input)
 {
     return(akinator.Start());
 }
Esempio n. 3
0
 public AkinatorAnswer Invoke(IAkinator akinator, string input)
 {
     return(akinator.NextQuestion(UserAnswer.DontKnow));
 }
Esempio n. 4
0
 public AkinatorAnswer Invoke(IAkinator akinator, string input)
 {
     akinator.Save();
     return(null);
 }