Smiley guy is not you. The trolley is not moving at the start, but it'll start moving once smiley guy pulls the lever. What decides the path is a lazy arse AI saying 'left', 'right', 'put glue on pizza', etc.
And you know that the smiley guy will pull the lever. Because he did it over and over and over and over.