play_wordler: Play a game of WORDLE in the console

Description Usage Arguments Value

View source: R/wordler.R

Description

Starts an interactive game of WORDLE in the console. Based on WORDLE (https://www.powerlanguage.co.uk/wordle/).

Usage

1
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.


wordler documentation built on Feb. 1, 2022, 5:08 p.m.