Reads the puzzle description file and returns a character vector with one word in each element.

get_words(puzzle_description_file)

Arguments

puzzle_description_file

is a character varialble containing the name of the file containing the word list and specifications.

It has a list of words ended by a line beginning with a '#'. Words may be on the same or different lines. The following elements make of the specifications, which follow the word list:

puzzle_description_file
File name (with path if necessary) with the specifications and word list to use.
titleTitle for word puzzle first page.
max_trials
Number of times the program is to try to fit each word into the puzzlen_direction
times.
n_directionsNumber of directions (not necessarily different) to be tried for each word if needed.
width
Width of puzzle in characters.
heightHeight of puzzle in rows.
left_right
Direction of word characters; normal.
right_leftDirection of word characters; backward.
up_down
Direction of word characters
down_upDirection of word characters
up_right
Direction of word characters
up_leftDirection of word characters
down_right
Direction of word characters
down_leftDirection of word characters

Details

The letter case of words and order is not changed.