The purpose of the Endless Runner 3D game is to try to escape the obstacles and go as far as possible to get as many points as possible. The truth is that there will be many things in your way on the way to freedom. You should strive to avoid containers and any obstacles you observe.
On the other side, this path will lead you to some pleasant surprises. On the path, you can sometimes find power-ups that let you acquire twice as many diamonds. If you want to find more power-ups in the level, you need to run more. You can spend these gems to buy additional characters if you want to.