More cleaning up

flash puzzle engine

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)

This entry was posted in flash, grids. Bookmark the permalink.
Be Sociable, Share!

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>