Wordle Example 2

example game with invalid input

$ python3 wordle.py

Welcome to Wordle!
 The computer will select a secret five letter english word.
 You will have six guesses to determine the secret word.
 Each guess must be a five letter word from the dictionary.
 If a letter in your guess appears in the secret word
    in the same location, the game will show this letter in
    UPPER CASE
 A letter that appears in the secret word but not in the same
    location will be shown in lower case.
Good Luck!

Guess a five letter word: stack

Status: - t - - -

Guess a five letter word: up
Word must be five letters long.
Guess a five letter word: xyzab
Word not in dictionary of valid words.
Guess a five letter word: isn't
Word must consist of only lowercase letters.
Guess a five letter word: MOUTH
Word must consist of only lowercase letters.
Guess a five letter word: wordy

Status: - O - - -

Guess a five letter word: mouth

Status: M O - T H

Guess a five letter word: sound

Status: - O - n -

Guess a five letter word: wierd
Word not in dictionary of valid words.
Guess a five letter word: weird

Status: - - - - -

Guess a five letter word: words

Status: - O - - -


Better luck next time! The word was MONTH.