Had some difficulty figuring it out, and I suspect your bugs were selection bugs. Overall it's an interesting idea! I'd like to see it after you've had time to polish it more, if you're able to.