I have changed it a couple times and gotten a couple different error messages. Could you give me some insight?
A couple of the errors I have gotten, "i" does not exist in current context, and guessedLetters cant be used like a method.
while (playHangman.Result() == Hangman_Game.GAMERESULT.CONTINUE)
{
Console.Write("Pick a letter ---> ");
ConsoleKeyInfo guessedLetters = Console.ReadKey();
if (playHangman.guessedLetters[](guessedLetters.KeyChar))
playHangman.Play();
}
if (playHangman.Result() == Hangman_Game.GAMERESULT.LOSE)
{
Console.WriteLine("Sorry, you didn't guess correctly. ");
makeTextBlink("The mystery word was '" + pickedWord.Content.ToUpper() + "'", 500);
Console.WriteLine("Do you want to play again ? Y/N");
yesNo = Console.ReadKey();
return yesNo.KeyChar.ToString();
}

New Topic/Question
Reply



MultiQuote







|