Right and left arrows to move. Try to make it to the other side without getting hit. In order to win you have to have less than 5 dents in less than 10 seconds. Don't worry, it's super easy.
I got a book from the library called Getting Started With Coding by Camille McCue. The code is from that book.