Discussion:
lab1: hangman
(too old to reply)
Javid Sumayya
2004-01-17 06:29:40 UTC
Permalink
Hi

In the hangman game if the user inputs capital letters should it be
accepted or an error message should be printed.

thanks
Alexander Smith
2004-01-18 22:52:15 UTC
Permalink
Hi,

To keep things simepl, the hangman game should NOT be case sensitive. That
means that 'a' and 'A' are two different characters. It is not an error if
the user enters 'A', but 'A' will only match a letter in the word if the
words happens to have a capital 'A' in it. For example, if you entered my
name as the words to guess, then the player would have to guess both 'a'
and 'A' to get the complete word right.

Alexander
Post by Javid Sumayya
Hi
In the hangman game if the user inputs capital letters should it be
accepted or an error message should be printed.
thanks
Loading...