Appearance
CS101 Word Game: Customizable Wordle
python
import customizablewordle.MyWordGame as wg
words = wg.WGLib.parseWordsFile('lowerwords.txt')
wg.startSession(words)Brief Description
In this game, the player gets to choose the word length for the word that they are attempting to guess. The game then randomly chooses a word of that length from a dictionary and then the player attempts to guess the word. With each incorrect answer, the game provides feedback in terms of whether a letter and its position was correct.
Settings
The user gets to choose the number of letters of the word they wish to guess. Any number is allowed as long as the dictionary has that length of letter in it. The suggested amount of letters is between 4-7 since there is a large number in the dictionary.
Rules of Play
Choose the length of the word that you would like to guess. Guess a word of that length Observe that feedback and think of your next guess. Uppercase means that the letter and position are both correct Lowercase means that the letter is correct, but in the incorrect position. _ means that the letter was wrong. Repeat till you guess the word/run out of turns. You may quit by typing "quit" You can then choose to play again by typing y or n.