yeah these words are pretty hard
but nice game
maybe include more common words, here are a few links to filter them out if u want
http://www.espressoenglish.net/100-common-nouns-in-english/
http://esl.about.com/library/vocabulary/bl1000_list_noun1.htm
http://www.linguasorb.com/en/english/most-common-nouns
A new version of this scenario was uploaded on Tue Apr 22 02:45:44 UTC 2014
@Pointifix, that is allowed. Is 'hangman' really a word or is it the name of a game? I just though it would be cute to add it because it was right there on the upper button (in front of your face, sorta speak).
Rustic: crude, unrefined, rural
Would you rather I used 'citrus' (same letters)?
Cellophane -- also known as 'plastic wrap'
Right now it is just words.
A new version of this scenario was uploaded on Wed Apr 23 03:12:41 UTC 2014
The Words class does not extend Actor; I did not specify, so it automatically extends Object.
The Letter class is included at the end of the Hangman class.
@Peach, actually I have two World subclasses: Hangman and TextFileViewer (to display the text files of the code). The only Actor subclass is the Letter class which I have as an inner class of Hangman and one Object subclass (the Words class). I used the Letter class only for the 26 Letter object that can be clicked on (the ones that turn gray after being chosen). The guessed letter (and the letter that appear in red after a lose) as well as the images used to show the drawing of the one who is being hanged are also Actor objects; but of no particular class (un-named Actor objects). I have a method in the Hangman class that is used to created and return an un-named actor object (getGenericActor).
sorry i don't really understand, so you don't have different classes for each body part of the hangman? eg. (right arm, right leg, head, etc)? instead, that is under the letter class?
@Peach, I do not have separate classes for each body part; however, even though they are created from within the Letter class, they are not Letter actors. In fact. they are not of any particular type of Actor (they are un-named, or generic). I felt no need to place them in separate classes as once they are drawn, their type is un-important (no collision checking or anything would need to know what class they are) and there is no further action for them to take (no act, fields or methods). Their only purpose is for image display and there was only a need for Actor class methods to accomplish that.
Look at the 'getGenericActor' method, which is used to return a new generic Actor object. Also, look at some of my other recent uploads and view the codes within them for more examples of creating these un-named Actor object; as well as some that are named, but coded within another class (inner classes).
i don't understand this part of the code:
static String[] words = {< WordsOmiited>}
static java.util.Random r and = new java.util.Random(System.currentTimeMillis());
@Peach, they are just field declaration statements for the array of words and the random number generator which is used to produce a random index for the word in the array to use in the puzzle. Getting the current time produces a 'random' seed for the random number generator. Check the java.util.Random API documentation for additional information on this type of Object. Having these field as 'static' causes them to be set prior to any Objects being created from the class (actually, they are created during compilation; and resetting does not alter them); and as these two fields will not change throughout the running of the scenario, they should probably be made 'final' as well.
2014/4/19
2014/4/21
2014/4/21
2014/4/21
2014/4/21
2014/4/22
2014/4/22
2014/4/22
2014/4/22
2014/4/22
2014/4/22
2014/4/22
2014/4/22
2014/4/22
2014/4/23
2014/4/23
2014/4/23
2014/4/23
2014/4/24
2014/4/24
2014/4/29
2014/4/29
2014/4/30
2014/4/30
2014/4/30
2014/4/30
2014/5/1
2014/5/1
2014/5/5
2014/5/5