Ejemplo n.º 1
0
 public void TestReadFile()
 {
     var bot = new WordScramblerBot.WordScrambler(SharpBotClient.SharpBotClient.Client);
     IList<string> list = new List<string>();
     list=bot.ReadFile();
     var x = new Random();
     string currentWord = list[x.Next(0,list.Count)];
     Console.WriteLine(currentWord);
 }
Ejemplo n.º 2
0
 public void TestRandomWord()
 {
     var bot = new WordScramblerBot.WordScrambler(SharpBotClient.SharpBotClient.Client);
     bot.RandomizeWord("test");
     Console.WriteLine(bot.RandomizeWord("test"));
 }