|
Charles Burrows
Spring Valley HS
[ESPRIT 9/4/06]
Hi! I've been kinda slackin' with my emails
this summer... I had quite a few requests regarding the hangman games,
specifically, HOW to make them. Uh, it's kinda tough to explain.
Here's the original:
http://users.bigpond.net.au/drkien/hangman/index.html
Here's where you can get all of the necessary files:
http://users.bigpond.net.au/drkien/dwld.html
Scroll down to HANGMAN and if you download the zip file, you'll see everything
you need there.
I added definition clues and more, but again, I can't easily explain it. It is
too many steps.
If you feel like playing...
Check out the source code for my versions:
http://caburrows.googlepages.com/extreme.html
Find:
var vocab = new Array(815);
vocab[0]="a horizon";
vocab[1]="aa";
vocab[2]="ablation area";
vocab[3]="abrasion";
vocab[4]="absolute age";
vocab[5]="absolute magnitude";
vocab[6]="absorption nebula";
etc....
Also find:
var def = new Array(815);
def[0]="The uppermost layer of soil composed of a mixture of organic matter and leached and weathered minerals.";
def[1]="A lava flow that has a jagged, rubbly, broken surface.";
def[2]="The lower portion of a glacier where more snow melts in summer than accumulates in winter so there is a net loss of glacial ice.";
def[3]="The mechanical wearing and grinding of rock surfaces by friction and impact.";
def[4]="Time measured in years.";
def[5]="The brightness that a star would appear to have if it were 32 light-years (10 parsecs) away.";
def[6]="A cold nebula that absorbs light.";
etc....
And, finally:
var sr = Math.floor(Math.random() * 815);
var voc = vocab[sr];
var define = def[sr];
You probably noticed that vocab[0] matches def[0], and vocab[1] matches def[1].
All you have to do (which may be insane) is put in your own words and
definitions between the quotes. And, very importantly, change the number (three
times total - see red
code above) from 815 to the total
number of terms that you include. Notice: The numbering starts with zero, so be
careful.
I used Firefox, Word, Excel, and Dreamweaver, plus a few other browsers, to
automate the process, without having to type in all of that code. I can't
explain it in an email.
Crazy!
--
Sincerely,
: ) Charles Burrows
http://www.eram.k12.ny.us/earth
- - - - - - - - - - - - - - - - - - - - - - - - -
|