Use the arrow keys. Avoid the asteroid-oranges. There's no way to win or to score.
If you like this project, check out Adventures in Coding by Chris Minnick and Eva Holland. Published by Wiley Books.