Thanks a lot!
It took maybe too much time to design the main mechanic and to program it, but since it's the core part of a game it's always worth it. Just to say it was pretty close.