Quote Originally Posted by matsp View Post
I'd be tempted to follow Swarvy's advice - however, I think there are four variants of the T shape as well - the "down" bar of a normal T can point right, up, left and down. [But I've got confused about rotation of stuff before].
Doh! I knew that. I did.

Know what, I'm going to have the program rotate it so I can reserve my data declarations for the "neutral" position of the pieces, that way I can add as many pieces as I want. What's more, I'm going to define nested the "wrong" way so that in my code the shapes themselves can be distinguished, just to be difficult.