It sounds like you are looking for the classic endless runner game (the sequel to the original "Run").
That’s it. Two moves. But the genius is in the timing. cool maths run 2
Here is a quick guide on what makes this specific "cool math" game so iconic and how to play it: It sounds like you are looking for the