Returns a vector of directions that can be used given the word size, the demensions of the puzzle, and the proposed list of directions.

filter_out_bad_directions(word, directions, specifications)

Arguments

word

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

directions

- character vector of the directions proposed for use.

specifications

- puzzle specifications