left and right arrows to move, 1 and 2 to switch between game modes.
All coding by me. Disclaimer: this was one of my first scratch games and made a year before I was verified.