Teaching event-driven programming as child's play