Press the up arrow key or space to jump. Avoid the obstacles.
Credit to @Nandini-Kapoor I just made it mobile