public bool Ask(IFishPlayer person)
 {
     // TODO: Move rnd to base class as a field....
     Random rnd = new Random();
     Card askedFor = Hand[rnd.Next(Count)]; // pick some random card
     Console.WriteLine("\tDo you have a " + askedFor + "?");
     Card result = person.Reply(askedFor);
     if (result != null)
     return true;
     else
     return false;
 }
Exemple #2
0
 private bool TakeTurn(IFishPlayer person)
 {
     throw new NotImplementedException();
 }