This is really good. I've been trying to make a game with similar mechanics myself. Good on you for figuring it out. I'll be following you with great interest.