Leaf Blower

In October 2009 I received a project spec. To build a 2D game for iPod Touch. I was assigned to partners to work on this project with me. 
This would require coming up with a game concept and implementing it using Xcode’s iPhone OS3 SDK. At the time I only had limited experience with C programing and not even the faintest clue as to how Object Orientated Programing worked. With iPhone OS programing done mostly in objective C, I knew we had a lot to do. For the first 3 or 4 months we  played with different ideas and researched our options. Then in February 2010 I received the news that my 2 partners had dropped out. With loads left to do and only a brief outline of what the game was going to be I consulted my project supervisor who suggested to going down the path of producing a web application. Something which the iPhone OS is ideally suited to. He handed me a book called Safari and Webkit Development for iPhone OS 3 which proved to be invaluable.
And so I began. With my partners out of the picture I changed the planned game! The original idea of snakes and ladders was chosen because it seems as though it would be easy to implement. The new game would have to be something that would use JavaScript animation to manipulate images on the screen. These images would be placed in named div tags which could be moved around the screen my mean of JavaScript animation loops. I came up with the simple idea of a game where a leaf blower was used to steer falling leafs on to a pile. The game would then time how long it takes the user to put 10 falling leafs on the pile before advancing to the 2nd level where….wait for it, they are confronted with the daunting challenge of two leafs falling at the same time with a target of 15 leafs to collect. Once this is done the user is presented with there final time for both levels. 
The game serves as a proof of concept. The game can be played at this link and works best on safari for Mac/ Windows or mobile safari on iPhone/iPad/iPod Touch. 
My full and final report can be viewed here (right click and save, .docx format). It includes all the code and graphics used and explains how to do it yourself. There are certain features which I was unable to implement, for different reasons, such a HTML5 offline cacheing. I also had a look at phonegap.com , a website that offers tools to allow developers to port web application to run natively in several different mobile platforms, including android, iPhone OS and blackberry.
Have a look at the game, take a gander at the source code, download the report for more info. Anymore questions feel free to contact me at neal.heneghan@gmail.com
See ya later!!