Thursday, February 12, 2009

random rules


Sorry, you have a Java-challenged browser!


Here's the other version of the tile game. It's actually the first one I wrote and a lot more difficult to achieve logically. This other one can be completely random because the tiles have ends on each side, but in this version, only two sides have arc ends which constrains the options for rotation significantly as to avoid "dead ends." Once I had written this code however, it was only a matter of about ten minutes to trim out the excess to arrive at the other version of this code which is conceptually simpler.

No comments: