Looks like there was already more testing to the puzzle engine from the last post. This snippet tests not only the two tiles’ centers but also their edges midpoints. In combination with the last source this should give a more decent puzzle as the more or less random necessary position of two adjacent tiles is not enough to combine them.
Source: ZIP (12.3 KB)