January 8, 2005
The Randomized Dick and Jane
I don’t know whether or not you have ever read Dick and Jane stories but I have and this evening while I was waiting for something I made a Randomized Dick and Jane story which is extremely short but leaves plenty for the imigination.
pickOne = function(listOfThings){
randomNumber = Math.floor(Math.random()*listOfThings.length)
return listOfThings[randomNumber]}
looks = new Array(”Look”, “Look”, “Look”, “Gaze”, “See”, “Come”, “Perceive”)
look = pickOne(looks)
Sees = new Array(”See”, “See”, “See”, “Observe”, “Contemplate”, “Witness”)
see = pickOne(Sees)
jumps = new Array(”Jump”, “Jump”, “Run”, “Run”, “Procrastinate”, “Laugh”, “Roll Over”, “Juggle”, “Eat Pizza”, “Saunter”, “Stagger”, “Totter”, “March”, “Hike”, “Eat”, “Gobble”, “Yell”, “Jig”, “Fly”, “Leap”, “Fall”, “Play”, “Engage in Recreation”, “Squeal”, “Be Silent”, “Read”)
jump = pickOne(jumps)
names = new Array(”Dick”, “Jane”, “Baby”, “Sally”, “Spot”, “Puff”, “Dick”, “Jane”, “Mr. Nobody”, “You”, “Who”, “a Purple Striped Hippopotamus”)
name = pickOne(names)
document.write(look), document.write(look), document.write(look)!
document.write(see) document.write(name).
document.write(see) document.write(name) document.write(jump).
document.write(jump), document.write(jump), document.write(jump).
Funny, Funny document.write(name).
document.write()