This works better in turbo mode (much faster). When the ball hits a purple thing, it has a 50% chance of going either left or right. The colored collector boxes count the number of balls as well as the current probability of a ball ending up there.