Love concentration game: find matching male and female characters (same color / same background)
function M(){for(i=0;i<36;i++){p[i]=[K[i%4/2|0],L[i/4|0],String.fromCharCode(H[i%2])]}for(I=G=36;T=p[--I];){J=G*Math.random()|1;p[I]=p[J];p[J]=T}for(i=0;t=p[i];i++){t[3]=i%6*90+10;t[4]=(i/6|0)*90+10}D();v=w=-1;_=0}function D(v,w){for(j=0,s=1,--v,--w;t=p[j];j++){m=j==v||j==w;a[f]='#'+(m?t[0]:L[3]);a[t.c?'clearRect':'fillRect'](t[3],t[4],80,80);if(!t.c){m?(a[f]='#'+t[1],a.fillText(t[2],t[3]+18,t[4]+65)):X(t[3]+10,t[4]+25)}s&=t.c}if(v>=0&&w>=0&&p[v][0]+p[v][1]==p[w][0]+p[w][1])p[v].c=p[w].c=1;return s}function X(w,x){a.beginPath();a[f]='#'+L[0];a.moveTo(w,x);a.lineTo(w+30,x+40);a.lineTo(w+60,x);a[q](w+45,x-20,w+30,x-5);a[q](w+15,x-20,w,x);a.fill()}q='quadraticCurveTo';f='fillStyle';c.width=c.height=550;H=[9792,9794];K=['FED','DEF'];L='F00,080,00F,CCC,FF0,0F0,F0F,FA0,A22'.split(/,/);a.font='80px Courier';p=[];M();c.onclick=function(e){if(v>=0&&w>=0){v=w=-1;_++}z=~~((e.pageX-10)/90)+~~((e.pageY-10)/90)*6+1;z>=0&&v>=0&&z!=v?w=z:v=z;D(v,w)?confirm('done in '+_+' moves, again?')?M():1:1}
ZnVuY3Rpb24gTSgpe2ZvcihpPTA7aTwzNjtpKyspe3BbaV09W0tbaSU0LzJ8MF0sTFtpLzR8MF0sU3RyaW5nLmZyb21DaGFyQ29kZShIW2klMl0pXX1mb3IoST1HPTM2O1Q9cFstLUldOyl7Sj1HKk1hdGgucmFuZG9tKCl8MTtwW0ldPXBbSl07cFtKXT1UfWZvcihpPTA7dD1wW2ldO2krKyl7dFszXT1pJTYqOTArMTA7dFs0XT0oaS82fDApKjkwKzEwfUQoKTt2PXc9LTE7Xz0wfWZ1b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