Part III. C# Lab Invaders

Name:

____________________

Date:

____________________

This lab gives you a spec that describes a program for you to build, using the knowledge you’ve gained throughout this book.

This project is bigger than the ones you’ve seen so far. So read the whole thing before you get started, and give yourself a little time. If you did all of the exercises throughout the book, you have all of the tools that you need to do this lab.

We’ve filled in a few design details for you, and we’ve made sure you’ve got all the pieces you need...and nothing else.

It’s up to you to finish the job. You can get our version of the finished Invaders game from the Windows Store as an open source project, so its source code is available...but you’ll have the best C# learning experience if you build it all yourself!

(See www.headfirstlabs.com/hfcsharp for details.)

The grandfather of video games

In this lab you’ll pay homage to one of the most popular, revered, and replicated icons in video game history, a game that needs no further introduction: it’s time to build Invaders!

image with no caption

Your mission: defend the planet against wave after wave of invaders

The invaders attack in waves, and each wave is a tight formation of 66 individual invaders. As the player destroys invaders, his score goes up. The bottom two rows of invaders are shaped like stars and worth 10 points. The satellites are worth 20, the saucers ...

Get Head First C#, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.