Check a guess
submit_guessUse this for each word the player guesses in a Words With Attitude puzzle started with start_daily_puzzle. Send the puzzle number, every earlier guess in this game in order, and the new guess. Returns every guess marked letter by letter (right letter in the right place, right letter in the wrong place, or not in the word) and a short comment on the guess. A guess has to be letters only and the same length as the answer; a guess that is not is returned with a reason and does not count. The answer is returned only when the game ends: a correct guess or the sixth miss. Nothing is stored on the server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guess | Yes | The word the player just guessed. Letters only; spaces are ignored. | |
| time_zone | No | The player's IANA time zone, for example "Europe/London" or "America/New_York". Picks the puzzle for their local date. Omit if unknown. | |
| puzzle_number | Yes | The puzzle number returned by start_daily_puzzle. | |
| conversation_id | No | Set by the Words card so its moves count in the same anonymous usage stats as the chat. Leave it out. | |
| previous_guesses | No | Every earlier guess in this game, oldest first. Empty or omitted before the first guess. | |
| utc_offset_minutes | No | The player's UTC offset in minutes (60 for UTC+1, -300 for UTC-5), used only when the time zone is unknown. Omit both to use UTC. |