I knocked this together for this afternoon’s class.

The students wanted to learn about using the keyboard for input and how to do collision detection so I thought a nice simple game would be the best way for them to learn these technique.

Yes, I know the graphics are poop but the game is just to demonstrate a couple of principles. Maybe if I can ever be bothered I’ll make it look prettier. :)

To play the game, you’ll need to click on the game so it can receive your keyboard input. :)

Comments
There are 2 comments.
January 21st, 2009 at 1:40 am
Haz

Hey Phil,
Just noticed, but your © on that says 2008. Shouldn’t it really say 2009?

Thanks for showing us how to make this game. Much appreciated :).

January 22nd, 2009 at 10:47 am

Yup, you’re absolutely right. I have this problem every single new year. I’ll probably catch up in February. :)