Josh Triplett reported:
> If I ask pearl to generate a 5x5 tricky puzzle, it runs forever.
I find that 5x6 or 6x5 works, so set the minimum accordingly.
Gbp-Pq: Name 102_fix-pearl-min-dimensions.diff
if (params->h < 5) return "Height must be at least five";
if (params->difficulty < 0 || params->difficulty >= DIFFCOUNT)
return "Unknown difficulty level";
+ if (params->difficulty >= DIFF_TRICKY && params->w + params->h < 11)
+ return "Width or height must be at least six for Tricky";
return NULL;
}