When playing the hangman game, I was able to type 'a1' as an accepted input by the program even though
the previous erroneous inputs I tried required me to type only alphabets.
There is a lack of sanitisation for the hangman input, which went against the pre-defined rules of only being able
to specify alphabets, which will waste the user's remaining number of chances to guess the letter.
Hi, thank you for your advice. However, only the first letter will be taken. It is highlighted in UG (graph1) as well as prompt information for the game(graph1).
When playing the hangman game, I was able to type 'a1' as an accepted input by the program even though the previous erroneous inputs I tried required me to type only alphabets.
There is a lack of sanitisation for the hangman input, which went against the pre-defined rules of only being able to specify alphabets, which will waste the user's remaining number of chances to guess the letter.
[original: nus-cs2113-AY2122S1/pe-interim#982] [original labels: severity.Medium type.FunctionalityBug]