It a very creative idea. I didn't find out how did it but it was very interesting!
Thanks! I added the solution in the game description if you're interested ^^