Created
December 27, 2012 15:59
-
-
Save Kuniwak/4389308 to your computer and use it in GitHub Desktop.
CodeGolf の215文字(7位)の回答です。 @itコラボ企画「もしもエンジニアがサンタだったら」 クロノス・クラウン合同会社 柳井 政和さんからのJavaScriptの問題 https://codeiq.jp/ace/yanai_masakazu_atmarkit/q137
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(C=[c=j=4];c--;C[c]=A.join(""))for(A=[a=b=w=0],x=y=X=40;b<160;A[y?a++:(I=(c+b)*b*49999-5537&65535)%78+I%38*81+[1,81,82,83,163][j]]="|-*-|\n_%"[y?x+X?x*x--<w*w|6:(x=X,w+=--y%8?1:-3,y?5:8):j--||(b++,j=4)]);return C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment