Learning to reason about and to act on physical cascading events