Code and Gravity

Topic

Ball escape

A ball is trapped inside spinning rings. It escapes only when a gap lines up. Can it get out, and how long does it take?