A Space Invaders game I wrote a while back. Has good AI that tries to dodge your missiles. Has a moving starfield in the background, and little mini-fights in the background as well. (You can turn them off by editing out the code)
API DeclarationsSetpixel, Bitblt, GetAsyncKeyState