Just 2 plain and simple rules.
Rule 1: Swipe toward a direction where no arrow is pointing.
Rule 2: Do not swipe at all in cases there is no direction where no arrow is pointing.
And a couple of traps.
Trap 1: There is no arrow at the left side – but the game is over when you swipe toward left. Please notice that in this case there is an arrow at the right side which is pointing left, and so swiping toward left is not valid.
Trap 2: There are 4 arrows and you think no direction to swipe toward, and the game is over. Notice that even with 4 arrows, sometime there are directions where you can swipe toward. For example, if both vertical arrows are pointing down, you can swipe up.