Your goal is to hit the obstacle which has the same shape as yours. However, if you hit the obstacle which has different shape, then you die.
On mobile : Tap on the right side of the device to jump right, click on the left side to jump left. On desktop/web : Click on the right side of the screen to jump right, click on the left side to jump left or Click left and right arrow respectively.