Oh... And if you wondering how I did the games with HUNDREDS of words, and
you're comfortable with Excel, check out the file presented at the bottom of
this message. (There are two sheets (bottom tabs): vocab[] and def[]). I
used a little CONCATENATE magic to speed things up. Just FILL DOWN...
You just need to get the vocab words in one column (in vocab[] sheet), and the
clues in another column (in def[] sheet).
DON'T USE QUOTES!
Questions? Just ask!
: ) CB
On 8/14/07, Charles
Burrows <caburrows@gmail.com>
wrote:
You asked for it! Here ya go! This is how to make the hangman games like
these...
Unzip the attached file to find the compressed folder called, "hangman."
There are 13 necessary files within this folder.
Use an html editor or a simple text editing program to edit and save
this file:
hangman.html
Here's what to do...
Find the code between the dotted lines below in the hangman.html file:
Change the words (vocab) and clues (def) BETWEEN THE QUOTES
ONLY.
If you want to change the number of words, you must also change the
RED number THREE TIMES. (Notice that the numbering starts with
ZERO, so 0-9 gives us 10 words/clues.)
---------------------------------------------
var vocab = new Array(10);
vocab[0]="ablate";
vocab[1]="ablation";
vocab[2]="abrasion";
vocab[3]="absolute age";
vocab[4]="absolute humidity";
vocab[5]="abyssal plain";
vocab[6]="accretionary wedge";
vocab[7]="acid mine drainage";
vocab[8]="active continental margin";
vocab[9]="adamantine luster";
var def = new Array(10);
def[0]="To become smaller. When a glacier _______s it loses mass by a
combination of melting, sublimation, and calving.";
def[1]="The processes by which a glacier loses mass.";
def[2]="The processes of wearing down rock by grinding, rubbing,
scraping, scratching, scouring, chipping, and pitting.";
def[3]="The numerical age or isotopic age, usually of a rock, and with
some degree of error.";
def[4]="The mass of water contained as vapor in a certain volume of air,
usually given in units of grams per cubic meter (g/m^3).";
def[5]="The broad expanse of the ocean floor that is nearly flat and at
a depth of about 5000 m.";
def[6]="A wedge-shaped volume of thrusted and folded rock and sediment
scraped and thrust-faulted off a subducting plate onto the edge of a
continent.";
def[7]="Acidic water draining from a mine.";
def[8]="The edge of a continent with a current plate boundary.";
def[9]="A bright mineral luster that resembles the way a diamond
shines.";
var sr = Math.floor(Math.random() *
10);
----------------------------------------------
Upload the entire directory (folder titled, "hangman"), with all
thirteen files, to your web page! It'll be here:
www._________.com/hangman/hangman.html
To create different games, just rename the hangman.html file to
something different (rocks.html or stars.html etc.) and save and upload
them to your server under the same directory (folder titled, "hangman").
Their addresses will be:
www._________.com/hangman/rocks.html
www._________.com/hangman/stars.html
etc.
AND... LET US SEE WHAT YOU MADE!!!
Sincerely,
: ) Charles Burrows
http://www.eram.k12.ny.us/earth
f(x) =CONCATENATE(A10,B10,C10,D10,E10)
|
vocab[ |
0 |
]=" |
ablate |
"; |
vocab[0]="ablate"; |
|
vocab[ |
1 |
]=" |
ablation |
"; |
vocab[1]="ablation"; |
|
vocab[ |
2 |
]=" |
abrasion |
"; |
vocab[2]="abrasion"; |
|
vocab[ |
3 |
]=" |
absolute age |
"; |
vocab[3]="absolute age"; |
|
vocab[ |
4 |
]=" |
absolute humidity |
"; |
vocab[4]="absolute humidity"; |
|
vocab[ |
5 |
]=" |
abyssal plain |
"; |
vocab[5]="abyssal plain"; |
|
vocab[ |
6 |
]=" |
accretionary wedge |
"; |
vocab[6]="accretionary wedge"; |
|
vocab[ |
7 |
]=" |
acid mine drainage |
"; |
vocab[7]="acid mine drainage"; |
|
vocab[ |
8 |
]=" |
active continental margin |
"; |
vocab[8]="active continental margin"; |
|
vocab[ |
9 |
]=" |
adamantine luster |
"; |
vocab[9]="adamantine luster"; |
f(x) ='def[]'!
|
def[ |
0 |
]=" |
To become smaller. When a glacier _______s it loses mass by a
combination of melting, sublimation, and calving. |
"; |
def[0]="To become smaller. When a glacier _______s it loses mass by a
combination of melting, sublimation, and calving."; |
|
def[ |
1 |
]=" |
The processes by which a glacier loses mass. |
"; |
def[1]="The processes by which a glacier loses mass."; |
|
def[ |
2 |
]=" |
The processes of wearing down rock by grinding, rubbing, scraping,
scratching, scouring, chipping, and pitting. |
"; |
def[2]="The processes of wearing down rock by grinding, rubbing,
scraping, scratching, scouring, chipping, and pitting."; |
|
def[ |
3 |
]=" |
The numerical age or isotopic age, usually of a rock, and with some
degree of error. |
"; |
def[3]="The numerical age or isotopic age, usually of a rock, and with
some degree of error."; |
|
def[ |
4 |
]=" |
The mass of water contained as vapor in a certain volume of air, usually
given in units of grams per cubic meter (g/m3). |
"; |
def[4]="The mass of water contained as vapor in a certain volume of air,
usually given in units of grams per cubic meter (g/m3)."; |
|
def[ |
5 |
]=" |
The broad expanse of the ocean floor that is nearly flat and at a depth
of about 5000 m. |
"; |
def[5]="The broad expanse of the ocean floor that is nearly flat and at
a depth of about 5000 m."; |
|
def[ |
6 |
]=" |
A wedge-shaped volume of thrusted and folded rock and sediment scraped
and thrust-faulted off a subducting plate onto the edge of a continent.
See subduction. |
"; |
def[6]="A wedge-shaped volume of thrusted and folded rock and sediment
scraped and thrust-faulted off a subducting plate onto the edge of a
continent. See subduction."; |
|
def[ |
7 |
]=" |
Acidic water draining from a mine. |
"; |
def[7]="Acidic water draining from a mine."; |
|
def[ |
8 |
]=" |
The edge of a continent with a current plate boundary. |
"; |
def[8]="The edge of a continent with a current plate boundary."; |
|
def[ |
9 |
]=" |
A bright mineral luster that resembles the way a diamond shines. |
"; |
def[9]="A bright mineral luster that resembles the way a diamond
shines."; |
|
|
 |
 |