From 5f6e082e74b80d097e5126607eba09c40b4a7f74 Mon Sep 17 00:00:00 2001 From: tony baldwin Date: Fri, 13 Apr 2012 13:09:07 -0400 Subject: [PATCH] added a javascript hangman thingy --- hangman.tar.gz | Bin 0 -> 30720 bytes hangman/hang.css | 4 ++++ hangman/hang0.gif | Bin 0 -> 387 bytes hangman/hang1.gif | Bin 0 -> 427 bytes hangman/hang10.gif | Bin 0 -> 498 bytes hangman/hang2.gif | Bin 0 -> 443 bytes hangman/hang3.gif | Bin 0 -> 447 bytes hangman/hang4.gif | Bin 0 -> 455 bytes hangman/hang5.gif | Bin 0 -> 463 bytes hangman/hang6.gif | Bin 0 -> 474 bytes hangman/hang7.gif | Bin 0 -> 481 bytes hangman/hang8.gif | Bin 0 -> 483 bytes hangman/hang9.gif | Bin 0 -> 495 bytes hangman/hangans.js | 51 ++++++++++++++++++++++++++++++++++++++++++++ hangman/hangman.js | 22 +++++++++++++++++++ hangman/hangman.php | 49 ++++++++++++++++++++++++++++++++++++++++++ 16 files changed, 126 insertions(+) create mode 100644 hangman.tar.gz create mode 100644 hangman/hang.css create mode 100644 hangman/hang0.gif create mode 100644 hangman/hang1.gif create mode 100644 hangman/hang10.gif create mode 100644 hangman/hang2.gif create mode 100644 hangman/hang3.gif create mode 100644 hangman/hang4.gif create mode 100644 hangman/hang5.gif create mode 100644 hangman/hang6.gif create mode 100644 hangman/hang7.gif create mode 100644 hangman/hang8.gif create mode 100644 hangman/hang9.gif create mode 100644 hangman/hangans.js create mode 100644 hangman/hangman.js create mode 100644 hangman/hangman.php diff --git a/hangman.tar.gz b/hangman.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ea720f4d74fa8e909137962c662b88b9d26a3038 GIT binary patch literal 30720 zcmeHP2UJtp)<#E1h;1AZ0ozT{G(zf4Ct#)68%Plnk_(B1BqX5=b_KDF1rZygqf*qd zf_=uZgXmbWfNktx9XnXY|J)>C4EW|fmyYjWFL5o&J!jv&_xbkzPQ5ounI<|`rlC80 z!4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--Q- z#<@oZ*S<*EGAYJy^Tp6CF5y`1Gya==Zc>}WzOC*rsM<0}&07AlYpa=rg?_VaQbfQLNiFEaIaPM<%kOzHM_zjvT~c z<1tgJ2aRQ^n7e(Pb`4%Lr>lB4f_2DLA#Dd+5#+DwS2-p#@BVb3sj({BjI|6nD>a_&0XqVA v1ndad5wIg*N5GDN9RWK6b_DDQ*b%TJU`N1?fE@ul0(J!K2-p$$90>d$Y~w)3 literal 0 HcmV?d00001 diff --git a/hangman/hang.css b/hangman/hang.css new file mode 100644 index 00000000..2a5114a9 --- /dev/null +++ b/hangman/hang.css @@ -0,0 +1,4 @@ +.hanga {font:bold 14pt Courier, "Courier New", monospace;text-align:center;} +.hangt {font:normal 16pt Courier, "Courier New", monospace;text-align:center;color:#efefef;} +.hangb {width:800px;height:430px;overflow:hidden;background:#777;border:#000000 1px solid;} + diff --git a/hangman/hang0.gif b/hangman/hang0.gif new file mode 100644 index 0000000000000000000000000000000000000000..3ed630eab5545d04c677f477266faf2df51fe4ec GIT binary patch literal 387 zcmV-}0et>PNk%w1VPpVg0Du4h00030|NkNR1OWg50RSuj0001F0Av6_0{)DTsmtvT zqYMB{daso=^R0m1$cRTrI+dBW8tWQpOxNjb=lX;1{!f7chp`^<*fJuQ871=xaYCmH zDfKE7MvEisO?!HRgFf6C3-XfGSSY*Ae8Z9QIk9dB;`8M*|L*sv7bw`ba)_9yxX9S( zc-ZGb7%@q<^H$kKnYpQQrM1_Yz^OM%%Cm7AXQ>m~=89VQsVe(bI|X~YMyuPz+dGj9 z{4z}UTO5l#B&?j=9Qh0#-FiHYz-(=ro%Go4{S6-exD6<7e%>gpQIm-sQdu1q9DhPc zKl-8Ga9xC{5Qi?@4Jrh0p| zM;c6J=vi!acbd!=o79^N8ZB*FElho_t8JXk?fSjc9F9vK>1|$^e!kwM`3@g1Kd;%| zO^=_C$=TV|nH`K;o^jhah^sP$5js3}0G`nzg&-?bfNn?(6XFnygNxvLz#`-D#I+3^ zXDu{Sl2^KvAk9r$bdtsxjw}`JZL#JVIq5^XiJ<)j4u@c06Uxp#;gDU literal 0 HcmV?d00001 diff --git a/hangman/hang10.gif b/hangman/hang10.gif new file mode 100644 index 0000000000000000000000000000000000000000..c7252ffae6bd7d52694fac90fbe6dbad8e308cd4 GIT binary patch literal 498 zcmV`l{+Q84C0w%OM(3D){q=w5!WP ziI)c6k;;yFc_?f6f0W1_$nel%8VR4!V1`rO`3eA z;vIr`4p)^uD9cd$77b)2KT=wr_+^R_Nf`g=rNo!Xp$MDuWN0)>VdtEqNtH4Mv+t?P zBL1X$F-X)3xNI6nk?YE^q0p&h3EGKx=~LDkJQ?|bvv%uDgyG1<4Q7rGI!T>opaMm; ztXQFekrvI-b6VjpiKoewx|D5WCy%XGe(DtR!m64#7n~gBGSkeRNozI@8TDw-2~*ES oYd^?6nxt+b#ees0v;YH-ZMM;G7dF}d>PtqK4DJHsaM=l}o! literal 0 HcmV?d00001 diff --git a/hangman/hang2.gif b/hangman/hang2.gif new file mode 100644 index 0000000000000000000000000000000000000000..d613f892ede51bbcc4adcf549cd21ef663f12498 GIT binary patch literal 443 zcmV;s0Yv^sNk%w1VPpVg0Du4h00030|NkNR1OWg50RSuj0001F0Av6_0{)DTsmtvT zqYMB{daso=^R0m1$cRTrI+dBW8tWQpOfPWh&h?Jjc&g(G6SrJ(xH|%s$QW}JYzm*A zsPsy+Vz(qM_dD@Es46J=1vxv%>JOs*1&NnnBN1N0Z{hlR{Ws>M_xFb6N0??fh}bi= z$fyV@Y4bRlw1Szbxyjk-`I#A+QF$^-ddIOBaaeV9I@-W$8e&=a_Ik2`Ye=!%TZ=X% z%lPy-{HHc}48}(X?33EEOl&fp_Z%jQoha;!z*#3CVe3WMlOT{3AgyFdxLO{I<%M37=@)}^S? zlO9{S1R52em!48<;JifB*2AzZ7m{t1vul!rTG`gKNfYi(w^z-QmD|>CSiEoP!sB~3 li&~e1{}yiNGjJ}&ei>(VoECCq$zBhWEQmR?=1v6w06Uh-&tU)n literal 0 HcmV?d00001 diff --git a/hangman/hang3.gif b/hangman/hang3.gif new file mode 100644 index 0000000000000000000000000000000000000000..6dd5ee8c2ed69292883e1a53e9a47d2077417dbb GIT binary patch literal 447 zcmV;w0YLsoNk%w1VPpVg0Du4h00030|NkNR1OWg50RSuj0001F0Av6_0{)DTsmtvT zqYMB{daso=^R0m1$cRTrI+dBW8tWQpOfPWh&h?Jjc&g*IR*hTEDC8l5%OtHi3ObWe zk93ONU9;R_wF`c1A>U%OJQ<(DGBNstc!xo1Ci|GEzwVl-ou2_Emp2F)=cH#ShFGZB zBb4ZP7b!W{SP8kJxyjk-`3V}j$!Mh%cv(_~N)|!6XJ%;Rn#QuKMM(OHX*LVDOPl-a z!-^-I7wBbtSW416nN}>R7v!9(oZ4ZFd%Z}d&Gvl~4mM6v&Q)G59nAfc*$$`<-+VrA zZEuM`CCcCL{|}I#K1Try8WhD2+7m13(2Of1ugI5rx>Pi5HHXYamlg3WCS0cIM#Ou^ zcGcRrMwy6_Ht5XTz%qmdib`T`8))w1OHJ?WjbUjMk-|UR940I3hhDptI*5Q|xHRb* zcrdm!3QA?DQlGL`VP&FbR86W*Q})F9H7CwC-qx}`i&m#kxi9HbwHvjqTa@i}9r`tQIm{$u%Aqw!F8o%7dIcd;U}a06RN`*fI*2J)x4xLjtAH z9P?St=BV241nUidNZdy`0iF)U&C>aGWNS|EZ(V*grQ!IRVVv}qT@xtNFgxEqH% z1}y7Kyt=k^95<)7{F^)?%yw2eO>=6dH+wDT39bBGdpRpsPA5K2nci?N}4G8=5lKEXEywZUSB6vyMZSpI7z#^c&JqojDaD zebB2&&SWMQ6!$SBCZc5s5c#mZLsc`1Oj-(e_6qnZBRecDeO}aQL=&|N$wMi-wX7KPGqj9vc24~HgTv9JON%N106SZE)Y||6 literal 0 HcmV?d00001 diff --git a/hangman/hang5.gif b/hangman/hang5.gif new file mode 100644 index 0000000000000000000000000000000000000000..0690482a7c8c7a75cba60004a64eeda72bfb6cf5 GIT binary patch literal 463 zcmV;=0WkhYNk%w1VPpVg0Du4h00030|NkNR1OWg50RSuj0001F0Av6_0{)DTsmtvT zqYMB{daso=^R0m1$cRTrI+dBW8tWQpOfPWh&h?Jjc&g(;Zj>N`Wy~anOk!)vs40Mo38H0-d?*2|05JW zk9Ln|pC85#T<%YXseuFw8a!w!;5CE{8}i55Ecvq?&4^H?#p84VxQ zIx>SuO1dhl2dr6X`UqsniAJ#3LVC@KQP7NUM~7;I#8skON&?9gr8d`YP`XC7}`;wE`L{I!ane8p)JYcS8Cdr^D^~bh zBK${uv}*(*j5`K6%ls9|3JshztVW#^s=Nn-o84Tr0Ul?}W?qhLZK=-j+WvrkA|L$@ zpDaXvFSvhB-yiQEKsN(3p*n~#p~8iz3Q}SSF=9h@t7088u$UUs+Ff QeeW(|iL`6mE>!>kI}K~wYXATM literal 0 HcmV?d00001 diff --git a/hangman/hang7.gif b/hangman/hang7.gif new file mode 100644 index 0000000000000000000000000000000000000000..6976754e3c9a87e260c6f198fdc65d2c43d098f1 GIT binary patch literal 481 zcmV<70UrKGNk%w1VPpVg0Du4h00030|NkNR1OWg50RSuj0001F0Av6_0{)DTsmtvT zqYMB{daso=^R0m1$cRTrI+dBW8tWQpOfPWh&h?Jjc=+LI8Y^PxHqi-}C#I6QM7Ew# zo-{?RVzsg>*Y~w~!{kR6GB%ISQ*XLw$zT8!LJ@ z>M9&;BUNl#6PudyL^s*NgZ X?N{+;*?(!zwyg)F?%ljm6#xJ`lz`?; literal 0 HcmV?d00001 diff --git a/hangman/hang8.gif b/hangman/hang8.gif new file mode 100644 index 0000000000000000000000000000000000000000..af3e0c4155a73ee119d2b4353c3539235c739c4a GIT binary patch literal 483 zcmV<90UZ8ENk%w1VPpVg0Du4h00030|NkNR1OWg50RSuj0001F0Av6_0{)DTsmtvT zqYMB{daso=^R0m1$cRTrI+dBW8tWQpOfPWh&h?Jjc=+LI8Y^PxHqi-}C#I6QM7Ew# zo-{?RVzsg>x7+;MyyEgB3n8CJ=&4s-ySA|+xLJ0xC-wJ)a{khn#6~9wCKqu72WYq! z#n*@cnKl{OBgAM45-`^wnAEJdWxE=x@yV^YLyWhnCO}KSt4~yf+V}QDT*hl zdlU?8)Ei`+j5%CIc8hGL*BL!ZxZCVBI5t-u(|Tq?h3tJt+EebAUA7LU%;EY@`zSxp zT%Q(?Z$!WUtG}-uE_?#R`RkMJU^rF`8#;Ulag{<%5i43`1#sIpyHEmqwX>6Oj7Dv? zGXAJ#upd8jDmwDAq{yWYU@SrslT@#c%wh!H-7ENL=fpfF50<*85KTy%P!{C?x^YOM zp0BV46sA+$)STDYK+Pd?rk_hhzUEtb_DGSkFyHWkA&V);JZ+Aun<`ij(*JG7=SLi7ds#&#SdWxE=y2{#$ib-gd;fTgzRz@qSHi?wG$TAvb z7+kVJd`oc*M#`o<%)A(#<19S5M=cwB4Go!8Jm=eW>Sscg8~$k8gTBmd-RV9H8}D67 zZ)<<=H?QBF-w$Nd4t8g7iNO|UOEZ9$2r~TTDx$=R6f3rR=+2_X$BnM|y_-S^VKR9_ z>^LM-4@#Po?Nods=W$mbDJ-A;(8Nfjxp=^Img`r?XBdXYgo?x@6l2SQM^&nWr_{^I znod$~BTDirP&Rb1p3qT5;6i|zLQyS=Qf8AkP4V5_M<#4BW_qN;aCG*?*EZvZdCJT5 z51wOywLE32RBfELDq|+*1oiRI$dVx=t}MfG;-r{4SN1F!^kdPRH9yQ#lJP*rU8DM& lhOrTBvRt*&3szS32WOykkM_M8cvRu{I2u2WoK*n;06V#C> 0) {var key = parms[i].substring(0,pos);var val = parms[i].substring(pos+1);qsParm[key] = val;}}} +qsParm['opt'] = null;qsParm['al'] = null;qsParm['w'] = null;qs(); +var win = 0;if (qsParm['win']) win = parseInt(qsParm['win']); +var opt = -1;if (qsParm['opt']) opt = qsParm['opt']%71; else opt = Math.floor(Math.random()*opts.length); +var al = '--------------------------';if (qsParm['al']) al = qsParm['al']; +var wr = 'xhwdarqpnez';var dc = '7!3@4#1$^5*~:6 +8=`<2-0>_/?9'; +var wx = 0; if (qsParm['w']) wx = wr.indexOf(qsParm['w']); +var answer = trans2(opts[opt]); +function trans2(op) {var opn = '';for (var i = 0; i < op.length; i++) {var ch = op.substr(i,1);if (ch == dc.substr(27,1)) break; if (ch == dc.substr(0,1)) opn += ' '; else opn += String.fromCharCode(dc.indexOf(ch)+64);} return opn;} +function selectLetter(s) {s = parseInt(s); var ch = String.fromCharCode(s+65); if (answer.indexOf(ch) == -1) wx++; al = al.substring(0,s) + ch + al.substring(s+1,al.length); var opty = Math.floor(Math.random()*165)*71 + opt; top.location = page + '?opt='+opty+'&al='+al+'&w=' +wr.charAt(wx); return false;} +function availLetter() {document.write('
    '); for (var i = 0; i < al.length; i++) { +var ltr = String.fromCharCode(i+65); if (al.charAt(i) == ltr) document.write(' '); else document.write(''+ ltr+'<\/a> '); if (i == 12) document.write('
    ');} document.write('<\/div>');} +function displayAnswer() {var correct = ''; document.write('

    '); for (var i = 0; i < answer.length; i++) {if (answer.substr(i,1) == ' ') {document.write(' '); correct += ' ';} else {var ltr = ''; if (win == 0) ltr = al.charAt(answer.charCodeAt(i)-65); else ltr = answer.substr(i,1); document.write(ltr + ' '); correct += ltr;}} document.write('<\/div>'); if (win == 0) {var opty = Math.floor(Math.random()*165)*71 + opt; if (wr.charAt(wx) == 'z') top.location = page + '?win=1&opt='+opty+'&w='+wr.charAt(wx); if (correct == answer.toUpperCase()) top.location = page + '?win=4&opt='+ opty+'&w='+wr.charAt(wx);}} +document.write('
    '); if (win == 0) availLetter(); else if (win == 4) document.write('
    YOU WIN
    Try Again<\/a><\/div>'); else document.write('
    YOU LOSE
    Try Again<\/a><\/div>'); document.write('

    hangman image '+wx+'
    <\/div>'); displayAnswer(); document.write('<\/div>'); + diff --git a/hangman/hangman.php b/hangman/hangman.php new file mode 100644 index 00000000..e8524179 --- /dev/null +++ b/hangman/hangman.php @@ -0,0 +1,49 @@ + +*/ + +function hangman_install() { +register_hook('app_menu', 'addon/hangman/hangman.php', 'hangman_app_menu'); +} + +function hangman_uninstall() { +unregister_hook('hangman_menu', 'addon/hangman/hangman.php', 'hangman_app_menu'); + +} + +function hangman_app_menu($a,&$b) { +$b['app_menu'][] = '
    '; +} + + +function hangman_module() { +return; +} + + +function hangman_content(&$a) { + +$baseurl = $a->get_baseurl() . '/addon/hangman'; +$a->page['htmlhead'] .= '' . "\r\n"; +$a->page['htmlhead'] .= '' . "\r\n"; +$o = ''; + + + + $o .= <<< EOT + + + +EOT; +return $o; + +} -- 2.39.5