Really cool! I really like the idea! I wish it was longer though. As MidnightBaker said could be a very fun puzzle game!
I'm glad that you liked the game, and yes, it certainly could be an amazing puzzle game mechanic