Original: Hero of Alexandria (c. 10–70 AD) built a mechanical theater which performed a play lasting 10 minutes and was operated by a complex system of ropes and drums that might be considered to be a means of deciding which parts of the mechanism performed which actions and when.
Simplified: He built a mechanical theater which performed a play lasting 10 minutes and was operated by a complex system of ropes and drums.