config_game {wordPuzzleR}R Documentation

Configure wordPuzzleR

Description

config_game configures wordPuzzleR, or show current configuration when used with no arguments.

Usage

config_game(..., .verbose = TRUE)

Arguments

...

Arguments passed on to configurations. Valid names may be:

dict

(String) path to dictionary file, where each line is a word.

min_len

(Integer) minimal word length, default 3.

max_len

(Integer) maximal word length, default 8.

guess

(Integer) maximal guesses, default 10.

pattern

(String) Regular expression to filter qualified words, default "[A-Za-z]+".

.verbose

(Logical) whether config messages should be printed.

Value

Named list of new configurations, invisibly.

Examples

# Show current config
config_game()

[Package wordPuzzleR version 0.1.1 Index]