Use the arrow keys to move left or right to dodge income enemy fire. The mothership only takes damage on it's left and right segments.
I tried to make this into the first space battle game, but it did not work, so I used code from that game and made a sequel. Note that the mothership does not stop firing in it's "shut-down" sequence so don't let your guard down.