You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

165 lines
16 KiB
JavaScript

var nm1 = [
["I am taken from a mine, and shut up in a wooden case, from which I am never released, and yet I am used by almost everybody.", "Pencil lead."],
["What goes round the house and in the house but never touches the house?", "The sun."],
["What is it that you can keep after giving it to someone else?", "Your word."],
["What gets wet when drying?", "A towel."],
["What comes once in a minute, twice in a moment, but never in a thousand years?", "The letter M."],
["The more you take, the more you leave behind. What are they?", "Footsteps."],
["He who has it doesn't tell it. He who takes it doesn't know it. He who knows it doesn't want it. What is it?", "Counterfeit money."],
["What goes round and round the wood but never goes into the wood?", "The bark of a tree."],
["I have a little house in which I live all alone. It has no doors or windows, and if I want to go out I must break through the wall.", "A chick in an egg."],
["There are four siblings in this world, all born together. The first runs and never wearies. The second eats and is never full. The third drinks and is always thirsty. The fourth sings a song forever.", "Water, fire, earth, wind."],
["A cloud was my mother, the wind is my father, my son is the cool stream, and my daughter is the fruit of the land. A rainbow is my bed, the earth my final resting place, what am I?", "Rain."],
["Poke your fingers in my eyes and I will open wide my jaws. Linen cloth, quills or paper, all will split before my might. What am I?", "Shears/Scissors"],
["What goes with a carriage, comes with a carriage, is of no use to a carriage and yet the carriage cannot go without it?", "Noise."],
["What stands on one leg with its heart in its head?", "A cabbage."],
["It's been around for millions of years, but it's no more than a month old. What is it?", "The moon."],
["I met a man with a load of wood which was neither straight nor crooked. What kind of wood was it?", "Sawdust."],
["What belongs to you, but others use it more than you do?", "Your name."],
["What is is that you will break even when you name it?", "Silence."],
["What binds two people yet touches only one?", "A wedding ring."],
["The more you take away from it, the larger it becomes. What is it?", "A hole."],
["I am the beginning of sorrow and the end of sickness. There's no happiness without me nor is there sadness. I am always in risk, yet never in danger. You will find me in the sun, but I am never out of darkness.", "The letter S."],
["What is put on a table, cut, but never eaten?", "A pack of cards."],
["What holds water yet is full of holes?", "A sponge."],
["Lives without a body, hears without ears, speaks without a mouth, to which the air alone gives birth.", "An echo."],
["What goes into the water red and comes out black?", "A red-hot poker."],
["When one does not know what it is, then it is something. When one knows what it is, then it is nothing.", "A riddle."],
["It is the beginning of eternity, the end of time and space, the beginning of the end and the end of every space. What is it?", "The letter E"],
["What tastes better than it smells?", "A tongue."],
["What is brown and sticky?", "A stick."],
["You may catch me, but you cannot throw me. What am I?", "A cold."],
["What is orange and sounds like a parrot?", "A carrot."],
["What can jump higher than a mountain?", "Anything that can jump. Mountains can't jump."],
["What goes up, but never goes down?", "Your age."],
["I have a single eye, but cannot see. What am I?", "A needle."],
["What loses a head in the morning, but gets it back at night?", "A pillow."],
["You use a knife to slice my head, yet weep beside me once I've bled. What am I?", "An onion."],
["How many oranges grow on a tree?", "All oranges grow on trees."],
["Feed me and I will live, give me water and I will die. What am I?", "Fire."],
["You can swallow me, but I can consume you too. What am I?", "Pride."],
["I am light as a feather and I can be strong, short and deep. I bring life, but none can hold me for long. What am I?", "Breath."],
["What am I?", "A question."],
["I have three eyes, but cannot see. I command with each blink, but I cannot think. What am I?", "A traffic light."],
["100 feet in the air, but its back on the ground. What is it?", "A centipede on its back."],
["I can bring tears to your eyes and a smile to your face. I form in an instant and last for a lifetime, but I can be forgotten. What am I?", "A memory."],
["I am perfect, impossible, permanent and guaranteed. What am I?", "Nothing."],
["I'm easy to get into, but hard to get out of. What am I?", "Trouble."],
["I last forever and you might have too much or too little of me, either way you will run out of me eventually. What am I?", "Time."],
["Thirty men, but only two women, yet these two hold the most power. Dressed in black and white they could fight forever. Who are they?", "Chess pieces."],
["Nobody wants me, yet nobody wants to lose me. What am I?", "A lawsuit."],
["I build bridges of silver and crowns of gold. I clean and I fix, yet many still fear me. What am I?", "A dentist."],
["The shorter I am, the bigger I am. What am I?", "A temper."],
["I have rivers without fish and roads without cars, I have deserts without heat and snowlands without cold, I have mountains without height and canyons without depth. What am I?", "A map."],
["What demands an answer, yet asks no questions?", "A phone."],
["The more places I be, the less you can see. What am I?", "Darkness."],
["It's best if you use me, but do keep me cool and especially don't lose me, because without me you're useless. What am I?", "Your head."],
["I'm at the beginning of time and part of past, present and future. I'm part of history, but not of here and now. In a moment you'll find me, if you know what I am. What am I?", "The letter T."],
["After a fall I will take over. All life will stall or at least grow slower. What am I?", "Winter."],
["I have 88 keys, yet I cannot open a door. What am I?", "A piano."],
["What is always coming, but never arrives?", "Tomorrow."],
["At night they come without being fetched. By day they are lost without being stolen. What are they?", "The stars."],
["If I have it, I shouldn't share it, because if I share it, I won't have it. What is it?", "A secret."],
["We see it once in a year, twice in a week and never in a day. What is it?", "The letter E."],
["What is broken when it's not held?", "A promise."],
["What has a head but never weeps, has a bed but never sleeps, can run but never walks, and has a bank but no money?", "A river."],
["Many have heard me, yet nobody has seen me. I won't speak back unless spoken to. What am I?", "An echo."],
["Of the king I am blue and of the peasant I am red. Of the frog I am cold and of the dog I am hot. What am I?", "Blood"],
["I have two arms, but fingers I have none. I've got two feet, but I cannot run. I carry well, but I carry best with my feet off the ground. What am I?", "A wheelbarrow"],
["What is black when you buy it, red when you use it and gray when you throw it away?", "Charcoal."],
["I'm as a child, a lamb and a simpleton at once. All are born with me, yet few possess me at their moment of death. What am I?", "Innocence."],
["I might be far from the point, but I'm not a mistake. In fact, I fix yours. What am I?", "An eraser."],
["I'm tall when I'm young and I'm short when I'm old. What am I?", "A candle."],
["I have a name that's not mine and no one cares about me in their prime. People cry at my sight and lie by me all day and night. What am I?", "A tombstone."],
["When you need me, you throw me away. But when you're done with me, you bring me back. What am I?", "An anchor."],
["I can be cracked, I can be made. I can be told, I can be played. What am I?", "A joke."],
["Light brings me to life, but darkness kills me. What am I?", "A shadow."],
["I have memories, but none of my own, whatever's on my inside is what is shown. If I'm ever different it's because you changed me, I feel like a decoration, here for you to arrange me. What am I?", "A picture frame."],
["A trail, a union, together tied. Come across me and you will find, you cannot change the course I'm on, without me you cannot travel on. What am I?", "Railroad tracks."],
["I move slowly but I'm dead. I leave and then I'm back. I'm clear and then I'm red. I'm many neurotics' snack. What am I?", "A fingernail."],
["What is harder to catch the faster you run?", "Your breath."],
["I have no wallet but I pay my way. I travel the world but in the corner I stay. What am I?", "A stamp."],
["The dirtier I am, the whiter I get. Leave a mark on me when you stand, I'll leave a mark on you when you sit. What am I?", "A chalkboard."],
["Enter one hole and leave three, once you succeed I'm on thee. What am I?", "A shirt/sweater/etc."],
["I'm the part of a bird that's not in the sky, I can swim in the ocean and remain dry. What am I?", "The bird's shadow."],
["A mirror for the famous, but informative to all. I'll show you the world, but it may be small. What am I?", "A television."],
["You can easily touch me, but not see me. You can throw me out, but not away. What am I?", "Your back."],
["What is something that you always have with you but you always leave behind?", "Fingerprints."],
["You could call me a home, but I have no doors. Someone lives inside me, but leaves when there's no more. What am I?", "An egg."],
["You wear me every day but you never put me on. I will change colors if you leave me out too long. What am I?", "Your skin."],
["I am weightless, but you can see me. Put me in a bucket, and I'll make it lighter. What am I?", "A hole."],
["I give advice to others, yet I know nothing myself. I am a hitchhiker destined to stay still while others pass by me. What am I?", "A road sign."],
["I drape the hills in gentle white and from the heavens I will glide. What am I?", "Snow."],
["Every night I'm told what to do and each morning I do what I'm told, yet never do I escape your scold. What am I?", "Your alarm clock."],
["Though I live beneath a roof, I never seem to dry. If you will only hold me, I swear I will not lie. What am I?", "Your tongue."],
["Walk on the living, they don't even mumble. But walk on the dead, they mutter and grumble. What are they?", "Leaves."],
["It dances and skips, it's read in the eyes but it cheats with the hips. If it meets its match it's easily caught, but it's worth nothing if it is bought. What is it?", "The heart."],
["I can run, but never walk. Wherever I go, you are behind me. What am I?", "Your nose."],
["I only point in one direction, but I guide people around the world with perfection. What am I?", "A compass."],
["I point without fingers, I strike without arms and I run without feet. What am I?", "A clock."],
["For now I must stay under the man who made me, but when he dies I'll be as powerful as he. They will watch and listen to what I say and some of their money to me they'll pay. Who am I?", "A prince or princess."],
["Thousands of ears I have side by side, yet there's not a thing I can hear. What am I?", "A corn field (ears of corn)."],
["I sizzle like bacon, I'm made with an egg. I have plenty of backbone, but not a good leg. I peel layers like an onion, but still remain whole. I can be long like a flagpole, yet I fit in a hole. What am I?", "A snake."],
["I tear paper but I'm not mad, I wear a purse but it's not a fad. Who am I", "A train/bus conductor."],
["Voiceless it cries and wingless it flutters, toothless it bites and mouthless it mutters. What is it?", "The wind."],
["Whoever makes me can hear me, but nobody else can. What am I?", "A thought."],
["I live off of a busy street, if you want you can stay for an hour or two, but if you don't pay rent I'll tell on you. What am I?", "A parking meter."],
["I'm measured in temperature and time, but have neither. What am I?", "Longitude and latitude."],
["I fly when I'm born, lie down when I'm alive and run when I'm dead. What am I?", "A snowflake."],
["I will bring you down, but I'll never lift you up. What am I?", "Gravity."],
["Different lights make me stranger, for each one my size will change. What am I?", "A pupil."],
["Born underground, raised by the sun, a host for the living, caterer of fun. What am I?", "A tree."],
["I'm tasty on the inside, I'm curvy not wide. If you step on my hide, you'll go for a ride. What am I?", "A banana."],
["I never was, am always to be. No one ever saw me, nor ever will. And yet I am the confidence of all, to live and breath on this terrestrial ball. What am I?", "Tomorrow/The future"],
["When set loose I fly away. Never so cursed as when I go astray. What am I?", "A fart."],
["Glittering points that downward thrust, sparkling spears that never rust. What are they?", "Icicles."],
["You heard me before, yet you hear me again, but then I die, until you call me again. What am I?", "An echo."],
["Two in a corner, one in a room, none in a house, but one in a shelter. What am I?", "The letter R."],
["You saw me where I never was and where I could not be. And yet within that very place, my face you often see. What am I?", "Your reflection."],
["Say my name and I disappear. What am I?", "Silence."],
["I can be long, I can be short. I can be grown, I can be bought. I can be painted or left bare. I can be round or a little square. What am I?", "A fingernail."],
["Reaching stiffly for the sky, I bare my fingers when it<69>s cold. In warmth I wear an emerald glove and in between I dress in gold. What am I?", "A (decidious) tree."],
["What begins, but has no end, yet ends all that begins?", "Death."],
["Alive without breath, as cold as death. Never thirsty, ever drinking. Clad in mail, never clinking. What am I?", "A fish."],
["Die without me, never thank me. Always watching, never speaking. Always lurking, never seen. What am I?", "Air."],
["What has neither flesh, bone nor nail yet has 4 fingers and a thumb?", "A glove."],
["No legs have I to dance, no lungs have I to breathe, no life have I to live or die and yet I do all three. What am I?", "Fire."],
["A leathery snake with a stinging bite, coiled up I wait until I must fight. What am I?", "A whip."],
["Aura cadaver, in graveyards we gather. In the living we exist, in your closet we persist. What are we?", "Skeletons."],
["First I was yellow, now I am white. Salty or sweet, I crunch with each bite. What am I?", "Popcorn"],
["I bring you comfort, a soft, smooth delight. I too keep you warm, on a cold winter's night. What am I?", "A bed/blanket"]
];
function nameGen() {
var br = [];
var element = document.createElement("div");
element.setAttribute("id", "result");
rnd = Math.floor(Math.random() * nm1.length);
rnd2 = Math.floor(Math.random() * nm1.length);
names = nm1[rnd][0];
names2 = "The answer is: " + nm1[rnd][1];
names3 = nm1[rnd2][0];
names4 = "The answer is: " + nm1[rnd2][1];
for (i = 0; i < 8; i++) {
br[i] = document.createElement('br');
}
if (document.getElementById("result")) {
document.getElementById("placeholder").removeChild(document.getElementById("result"));
}
var element = document.createElement("div");
element.setAttribute("id", "result");
element.appendChild(document.createTextNode(names));
element.appendChild(br[0]);
element.appendChild(br[1]);
element.appendChild(br[2]);
element.appendChild(document.createTextNode(names2));
element.appendChild(br[3]);
element.appendChild(br[4]);
element.appendChild(document.createTextNode(names3));
element.appendChild(br[5]);
element.appendChild(br[6]);
element.appendChild(br[7]);
element.appendChild(document.createTextNode(names4));
document.getElementById("placeholder").appendChild(element);
}