Design a Wordle Game Round
Model a bounded Wordle round that validates guesses, scores duplicate letters correctly, and closes after a win or loss.
Design the object model and public contracts for one Wordle game round. For this exercise, assume one player receives a hidden five-letter lowercase answer and may submit at most six accepted guesses from a supplied dictionary. A guess with the wrong shape or an unknown word is rejected without consuming an attempt.
Each accepted guess returns five marks: exact, present in another position, or absent. Exact positions are reserved first; present marks then consume the remaining unmatched answer-letter counts so duplicates are never overcredited. Accepted guesses form ordered immutable history.
All-exact feedback wins the round; the sixth accepted non-winning guess loses it; terminal rounds reject later guesses. Keep the design in memory and single-process with no concurrent submissions. Accounts, persistence, multiplayer, hints, and UI rendering are out of scope.
Show how responsibilities, interfaces, and interactions preserve these rules and handle corner cases.