Spoiler The red herrings are obvious if you know how balls fall. Might be more challenging for less experienced players.
Intended play is for ball to fall in pocket and have B win. Maybe needs some fail-safes in the design to make more reliable. A good idea overall.
@Kono Were you able to win? The level is easy to win. There are no failures. He doesn't need fail-safes. It can be won on the first try. "Random not by random". There is a way with 100% victory.
@amber Spoiler Put B on the lift. Release the ball as B nears the top. Ball falls over B's head and rolls across the win every time.