The idea is good, but it's impossible to win this game, if balls of two different colors hit the left and the right magician at the same time.