Appearance
CS101 Word Game: WORDLE WITH SIMPLE SCORING
python
import wordlewithsimplescoring.MyWordGame as wg
words = wg.WGLib.parseWordsFile('lowerwords.txt')
wg.startSession(words)Brief Description
Guess the secret 5-letter word in a limited number of 6 attempts. After each guess, the game will show feedback for each letter: correct, misplaced or not in the word.
Settings
Word length: 5 (fixed for this version). Number of attempts: 6 (again, fixed for this version) Scoring: The system of scoring has been simplified for this version of Wordle. Each attempt is worth 1 point and the goal is to guess the word in the least number of attempts, and hence, score the least number of points. By this logic, the highest score is 1.
Rules of Play
The computer picks a random secret 5-letter word from lowerwords.txt. Each turn: The game shows previous guesses with feedback, remaining turns, and score. The player types a 5-letter word as a guess. If the guess is not exactly 5 alphabetic letters or not found in the allowed wordlist, the guess is deemed "invalid" and user is prompted to enter a valid guess If the guess is valid, the game produces letter-by-letter feedback (which letters are there in the guess and the secret word, out of these which are at the correct positions, and what letters are in the guess but not in the secret word) to help users get closer to the secret word Ending of the game: