Description Usage Arguments Details Value See Also Examples
print_hint_list
is a helper function which identifies
the number of words for the given set of letters,
and (if desired) identifies what letters (two or three)
words begin with.
1 2 3 4 5 6 7 8 9 10 |
game_letters |
The letters to identify words from.
These should be a character string (e.g., "polemic").
(Required, if |
central |
The central (that is, required) letter
(optional). If not provided, will be randomly chosen
from among the |
num_letters |
The number of letters for the game; defaults to 7, and should be between 6 and 10. |
min_word_length |
Expected length of words. Defaults to 4 letters, but can be between 2 and 6. |
dictionary |
Character string. Choice of how detailed of a dictionary to use. Can be any of "slim", "broad", or "normal". Defaults to "normal", which is recommended. |
obscenities |
Logical. Should obscenities be included? Defaults to FALSE. |
game |
A |
state |
State of a |
These words may or may not be the same as those identified
with other word sets; you can make minor changes
by changing the chosen
dictionary. This function is called by
play_game
when choosing to get hints
(with "[h]" entered instead of a guess). You can choose
to get hints of the first two of three letters, or none.
When called directly (or through gameplay), this prints hints to help you find all answers.
play_game
to play the game
print_answers
to get all answers
1 2 | print_hint_list(game = create_game("craking"))
print_hint_list("balmntu")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.