back to games index

Hangman

This is a very simple to install javascript game.  The original game is based on a list of US presidents.  I have modified it to be based on a list of teachers.  It is easy to modify the game.

view and play an example game

  1. click inside this box, select all, copy the code, follow the instructions to install.

    select & copy


    *Alternatively: Get the game code » here from the javascript source.
    *Many more game codes are available from this site: http://javascript.internet.com/games
  2. To customise the game, first edit the word list.  Find this list of words in the code:

    *go to edit » find » type 'WordList' to find this code quickly, or scroll to line 425

  3. Change the names, try a list of classmates
    *DO NOT change any other parts of the code

  4. If you change the number of words in the list, you must also change this variable:

    *The current list is 20 words, but 0 counts, so it must be set to 21.

  5. That's it!  Try editing some other game codes by changing variables and arrays.

play hangman

back to top