Returns a character vector of directs with n_directions elements, where n_directions is from the specifications. All directions are allowed by the word size and the puzzle_array dimensions.

get_random_directions(word, specifications)

Arguments

word

- character vector of one element with word to be put into puzzle array.

specifications

- puzzle specifications