-
Notifications
You must be signed in to change notification settings - Fork 0
/
2p++.html
6 lines (6 loc) · 1.83 KB
/
2p++.html
1
2
3
4
5
6
<body>
<script>
b=document.body;
_='b"<centZ><>*{font-family:arial;cursor:po`tZ;-moz-;-webkit-;}.i{Wdisplay:`l`e-block;l`e-height:0;box-shadow:0 0 3px}@ .i{vZtical-align:top}</><h1>2-PlayZ games ++</h1><p><C 2YD 3Y 3DE F.5;14 ` a rowF w=0;27]=36]=-1;28]=35]=1RevZsi</><pzK; a){l=0;h="<pK;0==fK;U8 8t"+S"#5b5K+J"]1==fcellspac`g=5#aadK;U6 7 =\'WovZflow:hidden\'K+ $2==f=-
:
K;U3 3 =\'"+(j?"-bottomB(k?"-rightB"\'K+3==--; =marg`-left:"+4*(1-i)+"emK; U3 3K+~mA0)?(h+=g?"Next playZ: <bK+[JQ^</bK:"<bK+[J Q-^</b>I,f||(p>< a(p=-p)>Pass")):h+=f?g?"draw":[J Q-^I:w?0<w?I:0I:"Draw!";zh;~fG(CDEF0.5,[F,E,C,D][f]1)}; qc,d,e){gG!c]){1<U3;jk=9*i,l=3*j,~[k+jj+3j+6k+lS1S2k+408k+426S10lS20S10S2S18i+24+6i+18026224620818SiSi+9Si+18]]A3V;1==f){;35>cG!c+7];c+=7);i=6;iU7;jk=7*i+j,~[4>123_k7]+ k+1421_4>81624_2<61218]]A4V}!f){s=0;i=2;~iU2;~ji|jG(t=0,8*(d+i)+e+j]==-p)){k=d+i;l=e+j;~kG9>kG~lG9>lG(!=p||!(s=t=1))G;k+=i,S=j);t)u=d,v=e;u!=k||v!=l;u+=i,v+=j)8*u+v]=p}w=0;i=64;iw+=i]}sG(p=-p);a()}}height=20 class=i></@>"<@[1+(l]=S+]||0)];/@><brK}]+"],$,"XO"..opacity= ;jtrK,k=onclick=for(buttonk+){@ m[;a(p=g=s=1)>bordZ"",usZ-select:none--;)style bgcolor=if(],h+="<</> <m=[];f= width=20 q("+[l,7-j,7-k]+")$[red",yellow"]@tableA.`dexOf(B:2px solid;":"")+G&&I won!"J[0",K>"Q,][f][Sl+Uj=V*(c]=p)))g=0W-radius:50%;YTic-Tac-ToeZer^p+1]+"_],3>iG`in id==function(.`nZHTML=#fff13jGk
collapsef)i=3;i\\u00a08*k+l]i+12i;kth';for(Y in $='
`_^ZYWVUSQKJIGBA@$ ')with(_.split($[Y]))_=join(pop());eval(_)
</script>
<script src="https://togetherjs.com/togetherjs-min.js"></script>