요청 내용
“A Python Wordle round: enter a five-letter guess, reject an invalid length or word not in the dictionary, evaluate a valid guess against the target, end on a match, otherwise repeat while attempts remain and end in game over when none remain.”
그렇다면Add a hint after each wrong guess.Change the word length to six letters.
이 도면에 담긴 내용
그 이면의 의사결정을 읽어 보세요.
01
Check if the guess has exactly 5 letters.
02
Check if the guess exists in the game's dictionary of valid words.
This flowchart can be used as a reference for implementing the input validation component in any word-guessing game similar to Wordle.