thecel
morph king
- Joined
- May 16, 2020
- Posts
- 24,232
- Reputation
- 51,256
(high-effort thread)
You can play an interactive game of hangman right here on Looksmax.me.
All you gotta do is copy the code snippet below, right-click the page, click "Inspect," go to the "Console" tab (2nd tab; to the right of the "Elements" tab), paste the code, and hit Enter.
The game will show up at the bottom of this post. This works in desktop Google Chrome.
You can play an interactive game of hangman right here on Looksmax.me.
All you gotta do is copy the code snippet below, right-click the page, click "Inspect," go to the "Console" tab (2nd tab; to the right of the "Elements" tab), paste the code, and hit Enter.
JavaScript:
var _0x36d6=['https://i.imgur.com/jIJWKrt.png','https://i.imgur.com/e0KDwhV.png','error','#hangman-image','https://i.imgur.com/DIxV7PI.png','NOPQRSTUVWXYZABCDEFGHIJKLMnopqrstuvwxyzabcdefghijklm','18px','val','src','html','center','https://i.imgur.com/nUwnBVe.png','https://i.imgur.com/iWv2pIX.png','.”','darkblue','forestgreen','white','24px','black','mouseover','trace','setTimeout','inline-block','#hangman-letters','table','{}.constructor(\x22return\x20this\x22)(\x20)','pointer','8px','.hangman-done','#hangman-action','#hangman-guess','focus','css','debug','attr','2px\x20solid\x20lightgray','block','darkgray','.hangman-letter','border-color','2px\x20solid\x20darkgray','addClass','constructor','return\x20/\x22\x20+\x20this\x20+\x20\x22/','#hangman-guess,\x20#hangman-action,\x20.hangman-letter,\x20.hangman-button-spacer,\x20.hangman-letter-spacer','16px\x20-2px','32px\x2016px\x2016px\x2016px','<div\x20id=\x27hangman-game\x27>\x0a\x09<img\x20id=\x27hangman-image\x27>\x0a\x09<div\x20id=\x27hangman-letters\x27>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27e\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27b\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27c\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27v\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27a\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27t\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter-spacer\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27f\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27h\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27o\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27u\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27h\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27z\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27n\x27></span>\x0a\x09\x09<span\x20class=\x27hangman-letter\x27\x20data-letter=\x27a\x27></span>\x0a\x09</div>\x0a\x09<input\x20type=\x27text\x27\x20maxlength=\x271\x27\x20id=\x27hangman-guess\x27>\x0a\x09<span\x20class=\x27hangman-button-spacer\x27></span>\x0a\x09<button\x20id=\x27hangman-action\x27>Guess!</button>\x0a</div>','ebcvat\x20fhouhzna','https://i.imgur.com/D9cM3MO.png','log','none','https://i.imgur.com/il74QzW.png','1px\x20solid\x20silver','You\x20figured\x20out\x20the\x20secret\x20phrase:\x20','console','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz','20px','indexOf','300px','mediumblue','exception','#js-post-2989885\x20.message-userContent.lbContainer.js-lbContainer','.hangman-letter-spacer','32px','^([^\x20]+(\x20+[^\x20]+)+)+[^\x20]}','length','crimson','.hangman-letter,\x20#hangman-guess,\x20#hangman-action','0\x202px','mouseout','You\x20failed!\x20The\x20correct\x20answer\x20is\x20“','8px\x204px','16px','apply','#hangman-game,\x20html\x20body\x20#hangman-game\x20*','#hangman-game','4px','background-color','<div\x20class=\x27hangman-message\x27>\x0a\x09\x09','https://i.imgur.com/hbXEZpt.png','lightgray','.hangman-button-spacer','warn','200px','info','append','salmon'];(function(_0x591657,_0x36d61c){var _0x3c9bef=function(_0x32dc8e){while(--_0x32dc8e){_0x591657['push'](_0x591657['shift']());}},_0x47b12d=function(){var _0x26d7b6={'data':{'key':'cookie','value':'timeout'},'setCookie':function(_0x1fa748,_0x5326bb,_0x53d1bd,_0x4a2d8e){_0x4a2d8e=_0x4a2d8e||{};var _0x5b705f=_0x5326bb+'='+_0x53d1bd,_0x3d06e3=0x0;for(var _0x558706=0x0,_0x190b72=_0x1fa748['length'];_0x558706<_0x190b72;_0x558706++){var _0x33cb74=_0x1fa748[_0x558706];_0x5b705f+=';\x20'+_0x33cb74;var _0x219e5a=_0x1fa748[_0x33cb74];_0x1fa748['push'](_0x219e5a),_0x190b72=_0x1fa748['length'],_0x219e5a!==!![]&&(_0x5b705f+='='+_0x219e5a);}_0x4a2d8e['cookie']=_0x5b705f;},'removeCookie':function(){return'dev';},'getCookie':function(_0x28af9d,_0x52b99d){_0x28af9d=_0x28af9d||function(_0x53aa36){return _0x53aa36;};var _0x59b52d=_0x28af9d(new RegExp('(?:^|;\x20)'+_0x52b99d['replace'](/([.$?*|{}()[]\/+^])/g,'$1')+'=([^;]*)')),_0x5673f5=function(_0x5bb312,_0x38b538){_0x5bb312(++_0x38b538);};return _0x5673f5(_0x3c9bef,_0x36d61c),_0x59b52d?decodeURIComponent(_0x59b52d[0x1]):undefined;}},_0x13bb5d=function(){var _0x2e1284=new RegExp('\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*[\x27|\x22].+[\x27|\x22];?\x20*}');return _0x2e1284['test'](_0x26d7b6['removeCookie']['toString']());};_0x26d7b6['updateCookie']=_0x13bb5d;var _0x585895='';var _0x48e3c9=_0x26d7b6['updateCookie']();if(!_0x48e3c9)_0x26d7b6['setCookie'](['*'],'counter',0x1);else _0x48e3c9?_0x585895=_0x26d7b6['getCookie'](null,'counter'):_0x26d7b6['removeCookie']();};_0x47b12d();}(_0x36d6,0x1da));var _0x3c9b=function(_0x591657,_0x36d61c){_0x591657=_0x591657-0x0;var _0x3c9bef=_0x36d6[_0x591657];return _0x3c9bef;};function rot13(_0xc38c82){var _0x214308=_0x3c9b('0x16'),_0xb12159=_0x3c9b('0x3b'),_0xbe97e=_0x5e6651=>_0x214308[_0x3c9b('0x18')](_0x5e6651),_0x302737=_0x5bc36f=>_0xbe97e(_0x5bc36f)>-0x1?_0xb12159[_0xbe97e(_0x5bc36f)]:_0x5bc36f;return _0xc38c82['split']('')['map'](_0x302737)['join']('');}function animateHangmanInputColor(_0x2276aa){var _0xd1bc43=function(){var _0x40ec61=!![];return function(_0x5d37f5,_0x2badb6){var _0x2ccc1c=_0x40ec61?function(){if(_0x2badb6){var _0xdeb981=_0x2badb6['apply'](_0x5d37f5,arguments);return _0x2badb6=null,_0xdeb981;}}:function(){};return _0x40ec61=![],_0x2ccc1c;};}(),_0x3f7245=_0xd1bc43(this,function(){var _0x5edf55=function(){},_0x23ad59=function(){var _0x16f201;try{_0x16f201=Function('return\x20(function()\x20'+_0x3c9b('0x4f')+');')();}catch(_0x338473){_0x16f201=window;}return _0x16f201;},_0x403875=_0x23ad59();!_0x403875[_0x3c9b('0x15')]?_0x403875[_0x3c9b('0x15')]=function(_0x5d37ed){var _0x19492f={};return _0x19492f[_0x3c9b('0x10')]=_0x5d37ed,_0x19492f['warn']=_0x5d37ed,_0x19492f['debug']=_0x5d37ed,_0x19492f[_0x3c9b('0x33')]=_0x5d37ed,_0x19492f[_0x3c9b('0x38')]=_0x5d37ed,_0x19492f[_0x3c9b('0x1b')]=_0x5d37ed,_0x19492f[_0x3c9b('0x4e')]=_0x5d37ed,_0x19492f[_0x3c9b('0x4a')]=_0x5d37ed,_0x19492f;}(_0x5edf55):(_0x403875[_0x3c9b('0x15')][_0x3c9b('0x10')]=_0x5edf55,_0x403875[_0x3c9b('0x15')][_0x3c9b('0x31')]=_0x5edf55,_0x403875[_0x3c9b('0x15')][_0x3c9b('0x57')]=_0x5edf55,_0x403875[_0x3c9b('0x15')][_0x3c9b('0x33')]=_0x5edf55,_0x403875[_0x3c9b('0x15')]['error']=_0x5edf55,_0x403875[_0x3c9b('0x15')][_0x3c9b('0x1b')]=_0x5edf55,_0x403875[_0x3c9b('0x15')][_0x3c9b('0x4e')]=_0x5edf55,_0x403875['console'][_0x3c9b('0x4a')]=_0x5edf55);});_0x3f7245();var _0x593651=$(_0x3c9b('0x54'));_0x593651[_0x3c9b('0x56')]({'background-color':_0x2276aa,'border-color':_0x3c9b('0x48')}),window[_0x3c9b('0x4b')](function(){_0x593651[_0x3c9b('0x56')]({'background-color':_0x3c9b('0x46'),'border-color':_0x3c9b('0x3')});},0x1f4);}var hangmanImages=[_0x3c9b('0x12'),_0x3c9b('0x36'),_0x3c9b('0x2e'),_0x3c9b('0xf'),_0x3c9b('0x41'),_0x3c9b('0x37'),'https://i.imgur.com/ZRQJUYZ.png',_0x3c9b('0x3a'),_0x3c9b('0x42')],hangmanFailCount=0x0;function hangmanGameStateMessage(_0x31588d,_0x4fe55a){$('#hangman-action')['off']();var _0x1a8b98=$(_0x3c9b('0x2d')+_0x31588d+'\x0a\x09</div>');$(_0x3c9b('0x2a'))['append'](_0x1a8b98),_0x1a8b98[_0x3c9b('0x56')]({'background-color':_0x4fe55a,'color':_0x3c9b('0x46'),'padding':'10px\x2014px','font-size':_0x3c9b('0x27'),'margin-top':'16px','border-radius':_0x3c9b('0x2b')}),$(_0x3c9b('0x2a'))[_0x3c9b('0x56')](_0x3c9b('0x5'),_0x4fe55a);}function nextHangmanImage(){var _0x4133e0=function(){var _0x4f1e01=!![];return function(_0x1611fa,_0x5c1259){var _0x48249c=_0x4f1e01?function(){if(_0x5c1259){var _0x4aacdb=_0x5c1259[_0x3c9b('0x28')](_0x1611fa,arguments);return _0x5c1259=null,_0x4aacdb;}}:function(){};return _0x4f1e01=![],_0x48249c;};}(),_0x23edca=_0x4133e0(this,function(){var _0xd5d07a=function(){var _0x4d2561=_0xd5d07a[_0x3c9b('0x8')](_0x3c9b('0x9'))()[_0x3c9b('0x8')](_0x3c9b('0x1f'));return!_0x4d2561['test'](_0x23edca);};return _0xd5d07a();});_0x23edca(),$(_0x3c9b('0x39'))[_0x3c9b('0x0')](_0x3c9b('0x3e'),hangmanImages[hangmanFailCount]),hangmanFailCount+=0x1,hangmanFailCount>=hangmanImages[_0x3c9b('0x20')]&&hangmanGameStateMessage(_0x3c9b('0x25')+rot13('ebcvat\x20fhouhzna')+_0x3c9b('0x43'),_0x3c9b('0x21'));}var hangmanGame=$(_0x3c9b('0xd'));$(_0x3c9b('0x1c'))[_0x3c9b('0x34')](hangmanGame),$(_0x3c9b('0x2a'))[_0x3c9b('0x56')]({'font-size':'0','margin':_0x3c9b('0xc'),'padding':_0x3c9b('0x47'),'background':_0x3c9b('0x46'),'border':_0x3c9b('0x1'),'border-radius':_0x3c9b('0x2b')}),$(_0x3c9b('0x39'))[_0x3c9b('0x56')]({'width':_0x3c9b('0x32'),'height':_0x3c9b('0x19'),'display':_0x3c9b('0x2'),'margin':'0\x20auto','border':_0x3c9b('0x13')}),$(_0x3c9b('0x22'))[_0x3c9b('0x56')]({'height':'18px'}),$('.hangman-letter')[_0x3c9b('0x56')]({'width':_0x3c9b('0x3c'),'padding':_0x3c9b('0x26'),'border-bottom':'3px\x20solid\x20black','margin':_0x3c9b('0x23'),'text-align':'center','background':_0x3c9b('0x2f'),'border-radius':'2px'}),$(_0x3c9b('0x4d'))[_0x3c9b('0x56')]({'margin':_0x3c9b('0xb')}),$(_0x3c9b('0x54'))['css']({'border':_0x3c9b('0x6'),'padding':'8px\x2012px','border-radius':'4px','width':_0x3c9b('0x1e')}),$('#hangman-action')[_0x3c9b('0x56')]({'box-shadow':_0x3c9b('0x11'),'border-radius':_0x3c9b('0x51'),'appearance':_0x3c9b('0x11'),'color':_0x3c9b('0x46'),'background-color':_0x3c9b('0x44'),'cursor':_0x3c9b('0x50'),'padding':'10px\x2014px','border':_0x3c9b('0x11')})[_0x3c9b('0x49')](function(){$(this)['css']('background-color',_0x3c9b('0x1a'));})[_0x3c9b('0x24')](function(){$(this)[_0x3c9b('0x56')](_0x3c9b('0x2c'),_0x3c9b('0x44'));}),$(_0x3c9b('0x30'))[_0x3c9b('0x56')]({'width':_0x3c9b('0x51')}),$(_0x3c9b('0x1d'))[_0x3c9b('0x56')]({'width':_0x3c9b('0x17')}),$('.hangman-letter-spacer,\x20.hangman-button-spacer')[_0x3c9b('0x56')]({'height':'1px'}),$(_0x3c9b('0xa'))['css']({'font-size':'18px','display':_0x3c9b('0x4c')}),$(_0x3c9b('0x29'))[_0x3c9b('0x56')]({'vertical-align':'top','box-sizing':'content-box','line-height':'1','text-align':_0x3c9b('0x40')}),animateHangmanInputColor('white'),$(_0x3c9b('0x53'))['on']('click',function(){var _0x55f69c=$(_0x3c9b('0x54')),_0x2a638e=_0x55f69c[_0x3c9b('0x3d')](),_0x533104=$('.hangman-letter[data-letter=\x27'+rot13(_0x2a638e['toLowerCase']())+'\x27]');_0x55f69c[_0x3c9b('0x3d')](),_0x55f69c[_0x3c9b('0x55')]();if(_0x533104[_0x3c9b('0x20')]==0x0){nextHangmanImage(),animateHangmanInputColor(_0x3c9b('0x35'));return;}animateHangmanInputColor('springgreen'),_0x533104[_0x3c9b('0x3f')](_0x2a638e),_0x533104[_0x3c9b('0x7')]('hangman-done'),$(_0x3c9b('0x52'))[_0x3c9b('0x20')]==$(_0x3c9b('0x4'))[_0x3c9b('0x20')]&&hangmanGameStateMessage(_0x3c9b('0x14')+rot13(_0x3c9b('0xe'))+'!',_0x3c9b('0x45'));}),nextHangmanImage();
The game will show up at the bottom of this post. This works in desktop Google Chrome.
Attachments
Last edited: