pangiann / hangman

Hangman is a paper and pencil guessing game for two or more players.
0 stars 0 forks source link

Dictionary: Fix bug in the process description method #9

Closed pangiann closed 2 years ago

pangiann commented 2 years ago

Fixes the way we process a description and produce a Set of words called a dictionary.

Specifically, adds now the words in uppercase mode only. Else, there will be a mix of uppercase and lower case letters, that is both 'a' and 'A' which destroys the computation of probabilities.