How do the dynamics of this game work?

Hello,

I left a game link below. I’m not sure how the dynamics of this game work, I have a few questions to find out.

1- In this game, what kind of logic is the track that the sphere moves on?
2- How does the sphere move steadily on this track, regardless of the direction of the track?
3- How can it be adjusted to stay on the right or left side of the track while the globe goes on the track?
4- With what algorithm are the obstacles on the track placed on the track?

My aim is to make a similar game of this game, but I don’t know where to start, I would be grateful if you could help me with the questions I asked above. Thank you. :slight_smile:

Game link: Ruhs