Appearance
CS101 Word Game: Rearrange the Word
python
import rearrangetheword.MyWordGame as wg
words = wg.WGLib.parseWordsFile('lowerwords.txt')
wg.startSession(words)Brief Description
Players must work backwards from a scrambled wordle. The user will input the length of the word they want to try to guess. Then, the code will randomly generate a word of that length, return the scrambled word, and prompt the user to rearrange the letters to form a coherent word, keeping track of their number of guesses.
Settings
The user chooses the length of the word to guess. That is all that the user has control over. From there, the computer generates the actual word for the important vocabulary library and the user must guess the word from its scrambled letters.
Rules of Play
The user chooses the length of the word. The computer generates the word and scrambles the letters. The user must rearrange the letters to form a coherent word and type it into the console. The user will repeat step 3 until the word they type matches the word the computer generated.