play_wordler {wordler} | R Documentation |
Play a game of WORDLE in the console
Description
Starts an interactive game of WORDLE in the console. Based on WORDLE (https://www.powerlanguage.co.uk/wordle/).
Usage
play_wordler(target_words = NULL, allowed_words = NULL)
Arguments
target_words |
character vector of potential target words for the game. A word will be randomly selected from this vector as the target word to be guessed. Defaults to words used by the WORDLE game online (?wordler::wordle_answers) if not provided. |
allowed_words |
character vector of valid words for the guess. Guess must be in this vector to be allowed. Defaults to words used by the WORDLE game online (?wordler::wordle_allowed) if not provided. |
Value
No return value. Starts interactive game in console.
[Package wordler version 0.3.1 Index]