Use the arrow keys to move throughout the screen. Capture yellow ships for 1 point. Avoid the red ships. They take 2 points away. To win, break the 20 point barrier. If you lose more than 20 points, you lose.
Created with instructions from the book "Code Your Own Games!" by Max Wainewright. This game is used as an example for cloning for coding club and for computer science lessons in the STEM