Method
IpuzAcrosticset_answers
Declaration [src]
gboolean
ipuz_acrostic_set_answers (
IpuzAcrostic* self,
GArray* answers
)
Description [src]
This will map the cells of the clues in self
to cells in the grid.
For this method to work:
- Every character in the grid must be included exactly once in the strings in answers, and vice versa
- The first letter of each answer in the array must match the source string
If these conditions are met then this will randomly pick an
appropriate cell for each clue and set it on the cells of each
clue, and TRUE
will be returned.
Note
Generating the array of answers is actually quite hard and outside the scope of libipuz. It can also be quite computationally expensive, depending on the length of the quote.