Use the left and right arrows to move. Do not collide with yourself or the wall.
I made this project with my dad and a programming book.