Lingo sample runs
$ python3 lingo.py
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Welcome to Lingo!
Each turn you will try to guess the secret word
If you guess the word, you win
If you guess some letters in the word, lingo will display:
guessed letters in the correct position in upper case
guessed letters in the incorrect position in lower case
Good Luck!
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
word: - - - - -
Guess a 5 letter word: stack
word: s - a - k
Guess a 5 letter word: model
word: - - - - l
Guess a 5 letter word: lakes
word: l A k - S
Guess a 5 letter word: walks
word: - A L K S
Guess a 5 letter word: balks
You guessed the word balks in 5 tries
Congratulations!
$ python3 lingo.py
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Welcome to Lingo!
Each turn you will try to guess the secret word
If you guess the word, you win
If you guess some letters in the word, lingo will display:
guessed letters in the correct position in upper case
guessed letters in the incorrect position in lower case
Good Luck!
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
word: - - - - -
Guess a 5 letter word: grumble
Invalid input. Enter a word with 5 characters. Try again...
Guess a 5 letter word: wee
Invalid input. Enter a word with 5 characters. Try again...
Guess a 5 letter word: wawas
wawas is not a valid word. Try again...
Guess a 5 letter word: stack
word: - - - - -
Guess a 5 letter word: model
word: - o - - L
Guess a 5 letter word: funny
word: - u - - -
Guess a 5 letter word: cloud
word: - l O U -
Guess a 5 letter word: ghoul
You guessed the word ghoul in 5 tries
Congratulations!
$ python3 lingo.py
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Welcome to Lingo!
Each turn you will try to guess the secret word
If you guess the word, you win
If you guess some letters in the word, lingo will display:
guessed letters in the correct position in upper case
guessed letters in the incorrect position in lower case
Good Luck!
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
word: - - - - -
Guess a 5 letter word: stack
word: S - - - -
Guess a 5 letter word: model
word: - - d e -
Guess a 5 letter word: sends
word: S E - D S
Guess a 5 letter word: QUIT
The word you were trying to guess was: seeds
Better luck next time!