4c4 < A to Z - RJM Programming - April, 2017 ... thanks to Science Puzzles for Young Einsteins by Helene Hovanec page 3 --- > Vertical Riddle - RJM Programming - April, 2017 ... thanks to Science Puzzles for Young Einsteins by Helene Hovanec page 73 14c14 < function a_to_z(clue, answer, darray) { --- > function Vertical_Riddle(clue, answer, darray) { 26,28c26,28 < new a_to_z("What scientists might do as they work?","abcdefghijklmnopqrstuvwxyz",['e_amine|examine','_uery|query','_emand|demand','disco_er|discover','investi_ate|investigate','searc_|search','see_|seek','q_iz|quiz','ins_ect|inspect','tr_|try','sa_ple|sample','recogni_e|recognize','_study|study','_sk|ask','o_serve|observe','s_rutinize|scrutinize','exp_ain|explain','_nquire|inquire','de_ermine|determine','pr_be|probe','_udge|judge','_igure out|figure out','p_ove|prove','v_rify|verify','u_earth|unearth','revie_|review']), < new a_to_z("What you might do cooking?","abcdefghijklmnopqrstuvwxyz",['to_st|toast','_mell|smell','_ip|dip','_old|fold','de_laze|deglaze','w_ip|whip','_umble|jumble','sprin_le|sprinkle','f_ame|flame','sam_le|sample','p_ur|pour','f_lter|filter','sa_te|saute','fr_|fry','tas_e|taste','sti_|stir','slic_|slice','_ash|wash','s_uash|squash','free_e|freeze','wa_|wax','_ut|cut','sie_e|sieve','_ake|bake','bla_ch|blanch','cara_elize|caramelize']), < new a_to_z("What is the word related to time?","abcdefghijklmnopqrstuvwxyz",['time_one|timezone','_inute|minute','equino_|equinox','si_ce|since','wat_h|watch','or_it|orbit','e_entually|eventually','_elocity|velocity','c_lendar|calendar','sundia_|sundial','_oon|soon','tic_|tick','weeken_|weekend','_ulian|julian','a_ternoon|afternoon','la_|lag','sync_ronize|synchronize','la_se|lapse','_ueue|queue','m_nth|month','punctual_ty|puctuality','ho_r|hour','rapidl_|rapidly','nigh_|night','pe_iod|period','tid_|tide','no_|now']) --- > new Vertical_Riddle("What is an astronaut's favourite place on a computer?","thespace bar",['as_eroid|asteroid','black_ole|blackhole','n_bula|nebula','univer_e|universe','_lanet|planet','gal_xy|galaxy','_omet|comet','met_orite|meteorite',' ','or_it|orbit','s_tellite|satellite','c_ater|crater']), > new Vertical_Riddle("What kind of jokes did Einstein make?","wisecracks",['ans_ers|answers','shr_vel|shrivel','bli_ter|blister','pal_tte|palette','knu_kle|knuckle','imp_ove|improve','fan_tic|fanatic','tea_her|teacher','man_ind|mankind','pea_ant|peasant']), > new Vertical_Riddle("What snack food do geologists like?","rock candy",['eme_ald|emerald','dep_sit|deposit','wel_ome|welcome','boo_let|booklet',' ','hat_het|hatchet','adv_nce|advance','gra_ite|granite','san_bar|sandbar','cop_cat|copycat']) 35c35 < var mores = (location.search.split('azclues=')[1] ? decodeURIComponent(location.search.split('azclues=')[1].split('&')[0]) : ''); --- > var mores = (location.search.split('vrclues=')[1] ? decodeURIComponent(location.search.split('vrclues=')[1].split('&')[0]) : ''); 39c39 < function az_setCookie(thisg) { // thanks to JavaScript and Ajax by Tom Negrino and Dori Smith --- > function vr_setCookie(thisg) { // thanks to JavaScript and Ajax by Tom Negrino and Dori Smith 54,55c54,55 < if (("azclues=" + encodeURIComponent(prefix + thisg) + "; expires=" + expireDate.toGMTString()).length < ninehundred) { < document.cookie = "azclues=" + encodeURIComponent(prefix + thisg) + "; expires=" + expireDate.toGMTString(); --- > if (("vrclues=" + encodeURIComponent(prefix + thisg) + "; expires=" + expireDate.toGMTString()).length < ninehundred) { > document.cookie = "vrclues=" + encodeURIComponent(prefix + thisg) + "; expires=" + expireDate.toGMTString(); 59c59 < function az_deleteCookie() { // thanks to JavaScript and Ajax by Tom Negrino and Dori Smith --- > function vr_deleteCookie() { // thanks to JavaScript and Ajax by Tom Negrino and Dori Smith 62c62 < document.cookie = "azclues=; expires=" + expireDate.toGMTString(); --- > document.cookie = "vrclues=; expires=" + expireDate.toGMTString(); 65c65 < function az_cookieVal(firstcall) { --- > function vr_cookieVal(firstcall) { 69c69 < az_setCookie(mores); --- > vr_setCookie(mores); 76c76 < if ("azclues" == tCookie[j].split("=")[0]) { --- > if ("vrclues" == tCookie[j].split("=")[0]) { 129c129 < score+=26; --- > score+=5; 160c160 < var myh="A to Z Letters"; --- > var myh="Vertical Riddle"; 173c173 < az_setCookie(extras); --- > vr_setCookie(extras); 183c183 < az_setCookie(mores); --- > vr_setCookie(mores); 189,190c189,190 < } else if (afirstcall && document.URL.indexOf('azclues=') == -1) { < az_cookieVal(afirstcall); --- > } else if (afirstcall && document.URL.indexOf('vrclues=') == -1) { > vr_cookieVal(afirstcall); 225c225 < document.getElementById('azis').innerHTML=thedefaults[which].clue; --- > document.getElementById('vris').innerHTML=thedefaults[which].clue; 245c245 < pretheone=prompt(inadd + "Enter your 28 comma separated entry that goes ... Clue, Answer of letters from A to Z, an_wer1|answer1,_nswer2|answer2,ans_er1|answer3 to answe_26|answer26 ... and to do more than one at a time, separate by ! ... and to clear the cookie data regarding this enter a blank string (or one or more space characters only to avoid being prompted again)", "What is the word related to the fourth dimension?,abcdefghijklmnopqrstuvwxyz,or_it|orbit,e_entually|eventually,_elocity|velocity,c_lendar|calendar,sundia_|sundial,_oon|soon,tic_|tick,time_one|timezone,_inute|minute,equino_|equinox,si_ce|since,wat_h|watch,weeken_|weekend,_ulian|julian,a_ternoon|afternoon,la_|lag,sync_ronize|synchronize,la_se|lapse,_ueue|queue,m_nth|month,punctual_ty|puctuality,ho_r|hour,rapidl_|rapidly,nigh_|night,pe_iod|period,tid_|tide,no_|now"); --- > pretheone=prompt(inadd + "Enter your however many comma separated entry that goes ... Clue for Sharp Tool, Answer of saw, an_wer1|answer1,_nswer2|answer2,ans_er1|answer3 ... and to do more than one at a time, separate by ! ... and to clear the cookie data regarding this enter a blank string (or one or more space characters only to avoid being prompted again)", "What do they eat on Mars?,earth bar,ast_roid|asteroid,s_tellite|satellite,unive_se|universe,plane_|planet,black_ole|blackhole, ,or_it|orbit,gal_xy|galaxy,c_ater|crater"); 250c250 < az_deleteCookie(); --- > vr_deleteCookie(); 254c254 < pretheone=prompt("Enter your 28 comma separated entry that goes ... Clue, Answer of letters from A to Z, an_wer1|answer1,_nswer2|answer2,ans_er1|answer3 to answe_26|answer26 ... and to do more than one at a time, separate by !", "What is the word related to the fourth dimension?,abcdefghijklmnopqrstuvwxyz,or_it|orbit,e_entually|eventually,_elocity|velocity,c_lendar|calendar,sundia_|sundial,_oon|soon,tic_|tick,time_one|timezone,_inute|minute,equino_|equinox,si_ce|since,wat_h|watch,weeken_|weekend,_ulian|julian,a_ternoon|afternoon,la_|lag,sync_ronize|synchronize,la_se|lapse,_ueue|queue,m_nth|month,punctual_ty|puctuality,ho_r|hour,rapidl_|rapidly,nigh_|night,pe_iod|period,tid_|tide,no_|now"); --- > pretheone=prompt("Enter your however many comma separated entry that goes ... Clue for Sharp Tool, Answer of saw, an_wer1|answer1,_nswer2|answer2,ans_er1|answer3 ... and to do more than one at a time, separate by !", "What do they eat on Mars?,earth bar,ast_roid|asteroid,s_tellite|satellite,unive_se|universe,plane_|planet,black_ole|blackhole, ,or_it|orbit,gal_xy|galaxy,c_ater|crater"); 294c294 < yourone=('new a_to_z("' + firsttheone.replace(',','@') + secondtheone + theone.replace((firsttheone + secondtheone),'').toLowerCase().replace(/\'/g,'').replace(/\"/g,'') + '"])').replace(',','"~["').replace(/,/g,'"~"').replace(/~/g,",").replace('@','","'); --- > yourone=('new Vertical_Riddle("' + firsttheone.replace(',','@') + secondtheone + theone.replace((firsttheone + secondtheone),'').toLowerCase().replace(/\'/g,'').replace(/\"/g,'') + '"])').replace(',','"~["').replace(/,/g,'"~"').replace(/~/g,",").replace('@','","'); 298c298 < if (inadd == "" || document.URL.indexOf('azclues=') != -1) { --- > if (inadd == "" || document.URL.indexOf('vrclues=') != -1) { 341c341 < suffix="?azclues=&prevscore=" + encodeURIComponent(document.getElementById('score').innerHTML.split(" versus ")[0]) + "&prevlist=" + encodeURIComponent(thislist); --- > suffix="?vrclues=&prevscore=" + encodeURIComponent(document.getElementById('score').innerHTML.split(" versus ")[0]) + "&prevlist=" + encodeURIComponent(thislist); 354c354 < document.getElementById('azclues').value=extras; --- > document.getElementById('vrclues').value=extras; 361c361 < if (andsend) az_setCookie(extras); --- > if (andsend) vr_setCookie(extras); 365,366c365,366 < if (!andsend || (prefix[0] + 'body=' + encodeURIComponent(nofile(document.URL).split('#')[0].split('?')[0] + '?azclues=' + encodeURIComponent(extras) + suffix)).length < ninehundred) { < document.getElementById('aemail').href=prefix[0] + 'body=' + encodeURIComponent(nofile(document.URL).split('#')[0].split('?')[0] + '?azclues=' + encodeURIComponent(extras) + suffix); --- > if (!andsend || (prefix[0] + 'body=' + encodeURIComponent(nofile(document.URL).split('#')[0].split('?')[0] + '?vrclues=' + encodeURIComponent(extras) + suffix)).length < ninehundred) { > document.getElementById('aemail').href=prefix[0] + 'body=' + encodeURIComponent(nofile(document.URL).split('#')[0].split('?')[0] + '?vrclues=' + encodeURIComponent(extras) + suffix); 377c377 < document.getElementById('azclues').value=extras; --- > document.getElementById('vrclues').value=extras; 398c398 < az_setCookie(extras); --- > vr_setCookie(extras); 442c442 < --- > 445,446c445,446 < < --- > > 450c450 <

A to Z 📧 

--- >

Vertical Riddle 📧 

455c455 <

Pick letters in centre dropdowns to spell out apt words and use letters A to Z once, or add your own into the mix.

--- >

Pick letters in centre dropdowns to spell out words answering the clue shown, or add your own into the mix.

461c461 < PrefixA to ZSuffix --- > PrefixVertical RiddleSuffix 467,468c467,468 < < --- > >