Wow, correct mathematics! But why is the texture of the box not flipped? The puzzles are great. You should add music.
I had thought that I did implement the texture flipping? Unless I'm misinterpreting what you're talking about. Also, it's cool how we ended up with similar game ideas!