Okay, first of all, hi everyone.
This may be a simple problem, but it's caused me no end of trouble...
What I have is a (soon-to-be) hangman game. Now, in hangman, you enter a word and someone else has to guess it.
In my program, the idea is that a word is entered, and someone else tries to guess it. The problem is that I don't want the person putting in the word to use numbers or symbols, but spaces are allowed.
I imagine there would be a fairly simple solution to this, but I've tried to figure it out and have failed, and I haven't found anything online so far.
If anyone could help me, I would be very grateful.
Thanks
p.s. A second problem I have, which is no smaller than the first, is dealing with uppercase and lowercase letters. If the inputter adds capitals at the beginnings of words, this could cause a problem for the guesser.
Thanks again.
This may be a simple problem, but it's caused me no end of trouble...
What I have is a (soon-to-be) hangman game. Now, in hangman, you enter a word and someone else has to guess it.
In my program, the idea is that a word is entered, and someone else tries to guess it. The problem is that I don't want the person putting in the word to use numbers or symbols, but spaces are allowed.
I imagine there would be a fairly simple solution to this, but I've tried to figure it out and have failed, and I haven't found anything online so far.
If anyone could help me, I would be very grateful.
Thanks
p.s. A second problem I have, which is no smaller than the first, is dealing with uppercase and lowercase letters. If the inputter adds capitals at the beginnings of words, this could cause a problem for the guesser.
Thanks again.