Click to See Complete Forum and Search --> : Hangman Game


yoohoo
11-30-2003, 05:27 AM
dear all,
I would like to do a Hangman game in Javascript for students to learn in a more interesting way but do not have the expertise to do so. Is there anyone out there who have come across one?

I do not know Javascript but given the source code, I can manipulate it to suit according to my wants.

Pls advice.

AdamGundry
11-30-2003, 06:29 AM
There are loads out there, such as this one (http://www.javascriptguide.com/hman.html). Alternatively, search Google (http://www.google.com/search?q=javascript%20hangman) and pick one you like.

Adam

yoohoo
12-01-2003, 11:44 PM
thanks for your reply.

Ya, i was trying to look at various websites for the Hangman game. Unfortunately not all are what i wanted.

I want:
[list=1]the user to have the visual effect of the man being hanged[/list=1]
[list=2] i provide a hint, and the user has to give the word. eg: i give a defination of a term, and the user has to guess the term[/list=2]

reason: i wanted to use this game to let my students have fun learning definitions and terms.

i have seen one which is exactly what i wanted. unfortunately the person does not seem to be interested in sharing with me his js code.

as the js is in an external file, i cannot view source to get the code. hence trying to get some help now.

free to take a look at this?

click here (http://www.manythings.org/hmjs/animals.html)

Gollum
12-02-2003, 04:21 AM
Hint: to view an external js file reference in a page by <script src="myjs.js"></script> all you need to do is enter myjs.js as the last part of the url in the address bar and then view source.
e.g. if you go to a page at www.somedomain.com/thepage.html, if you type www.somedomain.com/myjs.js - you will get the javascript.

clairec666
12-02-2003, 05:21 AM
To see the bloke being hanged: can't you use an animated gif, eg. replace the 'unhung' man with the .gif file once the player has lost, and then they can see him being hung?

And why the need for the gruesome images?