Dodge the Red Balls and use arrow keys to move. You get 5 lives to live. Your score is in the top right corner.
Modified your code, try doing stuff like this, makes it work a lot better.