Arrow keys to move, space to use attack. Kill and avoid the red squares. (Note, you might need to press the green flag two times before starting.)
This is my first attampt at a scrolling game, let me know if I need any improvements.