Wednesday, July 8, 2009

Space Invaders

Here's a little space invaders program that I wrote on the weekend. If it doesn't work the first time, maximise it and try again.. I haven't optimised it for anything other than 1024x768 yet.. Maybe tomorrow.

It was written in Java using Netbeans and some free sound and graphics from the web. With exception of some of the graphics, database and sound routines, the game logic was all written by yours truly.

It has a high score table and multiple levels. It should auto load using Java Web start (fingers crossed).

I've been writing these games with the hope of starting a programming group of students. The basic ideas gained have direct application in mathematics, especially in algebra, coordinate geometry, functions, recursive algorithms and trigonometry.

Click here to play game

Click here for source code

Best of all.. all of the software used to make it was free!

Pretty cool huh?

No comments:

Post a Comment

Hi, thanks for leaving a comment.. it's good to hear what people think!