Thanks. It works, but now my score goes up uncontrollably...
doing this 1 by 1 comparison is really a last resort. what I really want is to compare all adjacent tiles of a target tile.
dropbox.com/s/cuaqz5imj3byb0d/board.JPG
In the picture, for instance, if the target tile is 14, I want to compare its variables to those of 13, 12, 4, 16,(the surrounding tiles) but no others. (#s on tiles represent current UIDs)
If you have a suggestion for making this more efficient way work, that would be great.
also, # of tiles are fixed. no new ones generate, if that matters