R/get_trial_word_list.R
get_trial_word_list.Rd
Returns a list containing the following: trial_word_vector - character vector containing the contents of the puzzle_array beginning at the location selected and continuing for the length of the word and in the direction indicated. location - 2 element integer vector containing a random location of the first character of the word direction - 1 element character vector containing the direction descriptor
get_trial_word_list(puzzle_array, word, direction, specifications)
puzzle_array | character vector containing the puzzle |
---|---|
word | character vector of one element with word to be put into puzzle array. |
direction | character vector of one element that specifies the proposed direction. |
specifications | puzzle specifications |