Sunday, March 27, 2011 at 3:20 AM My First "Serious" Project :)
To practice Arrays and Layouts I am going to do a few practice exercises. And here's a brief overview of my first exercise, a variation of Hangman game, which I call "Harakiri", and which is styled and related to Japanese culture. In traditional Hangman player guesses the letters of a word, and if he makes a mistake the picture gets updated with new details of the hangman. In my variation the hangman is samurai (Japanese warrior) ready to perform harakiri (ritual suicide), and the only way to prevent samurai from doing it is to guess the word correctly making the least of the mistakes possible. The word list will contain English words originated in Japan, or famous places in Japan (some well-known and not so much entities like "tsunami", "Tokio", "banzai", "kimono", etc).
This is going to be a "serious" projest, involving writing/reading files (dictionary), displaying rich graphics (I am on a zero budget, so do not expect anything too advanced), music & sounds.
I am treating this project as a prototype for my future iOS development process, and will be testing out various techniques and approaches to see what works and what doesn't. I plan to finish with the game by the end of the week, and will post various details and follow up next Sunday.
and here's the code for the GAlien class: