Use the arrow keys to make the red square move left and right.
Dodge the oncoming black squares and collect blue coins.
(Mobile Friendly) just tap on the side you want to move to.