Appearance
CS101 Word Game: Wordle
python
import wordle1.MyWordGame as wg
words = wg.WGLib.parseWordsFile('lowerwords.txt')
wg.startSession(words)Brief Description
This game is exactly like the classic Wordle game! Guess the secret five-letter word within six tries. In Easy Mode, you can guess any word, but in Hard Mode, you must reuse all 🟩 green and 🟨 yellow letters from previous hints.
Settings
Before each game begins, choose your difficulty level:
Easy Mode (You can make any valid five-letter word guess.) Hard Mode (You must reuse all correctly guessed letters (both green and yellow) in your next attempt.)
Rules of Play
You have six turns to guess the secret five-letter word.
After each guess, you’ll receive color-coded feedback for each letter:
🟩 Green — The letter is in the correct spot.
🟨 Yellow — The letter is in the word, but in the wrong spot.
⬛ Black — The letter is not in the word. Use the feedback to refine your guesses. 3. If you guess the word before using all six turns, you win and earn points. 4. If you fail to guess within six turns, the correct word is revealed. 5. The score is based on how quickly you guess the word:
If you guess the word in 1 try, your score is 6. If you guess the word in 2 tries, your score is 5. If you guess the word in 3 tries, your score is 4. If you guess the word in 4 tries, your score is 3. If you guess the word in 5 tries, your score is 2. If you guess the word in 6 tries, your score is 1. If you fail to guess the word, your score is 0.