Press left arrow key to move left. Press right arrow key to move right. Avoid the barriers.
Thanks to "Confusedplatypus" for the idea.