Showing posts with label computer games. Show all posts
Showing posts with label computer games. Show all posts

Sunday, November 14, 2010

Greenfoot

Greenfoot is another attempt to bring programming to students. It has a textbook that can be purchased and an established user group. It is well worth a look if starting a computer programming class and you wish to use Java.

Here is a link: http://www.greenfoot.org/.

Have a look

Russ.

Sunday, July 12, 2009

Arkanoid Clone


Here's a basic outline of an Arkanoid clone, made by modifying the space invaders code of last week (it was done in a day!).

Click here to play.

Click here for source.

To complete this I had to use polar coordinates, bearings, reflection, complementary/supplementary angles, recursion and a lot of boolean logic.

The paddle reflection is not perfect and the game could use more levels. There is an issue with ball speed that I need to resolve. It doesn't work in other than 1024x768.

A link here to the space invader clone of last week.

As always, the games are written in Java using Netbeans. All of the game logic written by yours truly. Feel free to do use the code as you see fit.

Enjoy!

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?