Description Usage Arguments Value
If x
is a valid guess, it is added to game$guess
and assessed
against the target word. Increments game$guess_count if a valid guess is made.
1 | have_a_guess(x, game, allowed_words = NULL)
|
x |
the guess. |
game |
'wordler' game object (as generated by
|
allowed_words |
a character vector of valid words for the guess. x must be in this vector to be allowed. Defaults to words used by the WORDLE game online (?wordler::wordle_allowed) if not provided. |
A 'wordler' game object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.