make_guess | R Documentation |
Compare a guess word to a target word and return index positions of correct, incorrect, and misplaced letters. Optionally print guessed letters to console with colors indicating whether letters were correct, incorrect, or misplaced.
make_guess(target, guess, quiet = FALSE)
target |
Target of the match |
guess |
Word to be compared to the target word |
quiet |
Should guess results be printed to console in the form of color- coded guess letters? |
List of length 3. Each list element is a vector of integers indicating index positions for the letters in the guess word in the associated category.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.