word_intersections: Get possible intersection points based on the current board and a provided word
Description
Get possible intersection points based on the current board and a provided word
Usage
word_intersections(x, word = "needles")
Value
for each direction, a matrix of crossing-point counts
Arguments
- x
word matrix
- word
the word to add (character/scalar)