Appearance
CS101 Word Game: WORDLE
python
import wordle4.MyWordGame as wg
words = wg.WGLib.parseWordsFile('lowerwords.txt')
wg.startSession(words)Brief Description
Wordle is a word-guessing game where players attempt to identify a hidden five-letter word within six tries. After each guess, the game provides feedback indicating which letters are correct and in the right place, which are correct but misplaced, and which do not appear in the target word.
Settings
Word Length: Default is 5 letters. Number of Attempts: 6 tries per game. Word List: Randomly chosen from a predefined dictionary. Feedback Symbols: ✓ = Correct letter, correct position ? = Correct letter, wrong position x = Letter not in the word
Rules of Play
The player submits a valid word of the required length. The game compares it to the secret target word. Feedback is displayed after each guess. The player continues until: They guess correctly (win), or They run out of attempts (lose). The target word is revealed at the end. The player may choose to play again.