Post History
JavaScript (Browser), 670 bytes for(_="=1,w=):=0,w(=f(||(.join`w?q-w?q=-w(a,b=>A(L*5,a),g.innerText=N=L=D=T,I=,c,d)a-d?I,b(d,cd+1c,A=)I(a,(x,y)[...y,b(x)],[](U=_(Kf=({value:a})a==[a|]+[]&&a...
Answer
#2: Post edited
- # JavaScript (Browser), 670 bytes
for(_="=1,w=):=0,w(=f(||(.join`w?q-w?q=-w(a,b=>A(L*5,a),g.innerText=N=L=D=T,I=,c,d)a-d?I,b(d,cd+1c,A=)I(a,(x,y)[...y,b(x)],[](U=_(Kf=({value:a})a==[a|]+[]&&aKQnFlZdOtQ-N|F-L|Z-D|O-T&&(B=Q,e=F,H=Z,V=O,K&=(V>0&V<61&[3,4,6,8].includes(B)&e>1&e<101&H>0&H<=B*(e-1)K&&(N=Q,L=F,D=Z,T=O,X=N-4&&L,Y,WE=N==3,M=1)R=requestAnimationFrame,N?(s=' ')x=X,y=Y,q=W,E,m=M,I(D,i(s[y][x]='*',m++-Lm=2,N<4?w<0?1:w?(q=-1q-1N<6?w?(q,qN<8?w::q:q?q+ww:q:qx+=q*(?2:1y+=w,iX=x,Y=y,W=q,E=w,M=m))s.map(aa`)\`(''T-60?setTimeout(_R(U1e3/T-16R(U)))()";G=/[-]/.exec(_);)with(_.split(G))_=join(shift());eval(_)- [Try it online!](https://hakerh400.github.io/cg/280092/)
- # JavaScript (Browser), 670 bytes
- ```js
- for(_="=1,w=):=0,w(=f(||(.join`w?q-w?q=-w(a,b=>A(L*5,a),g.innerText=N=L=D=T,I=,c,d)a-d?I,b(d,cd+1c,A=)I(a,(x,y)[...y,b(x)],[](U=_(Kf=({value:a})a==[a|]+[]&&aKQnFlZdOtQ-N|F-L|Z-D|O-T&&(B=Q,e=F,H=Z,V=O,K&=(V>0&V<61&[3,4,6,8].includes(B)&e>1&e<101&H>0&H<=B*(e-1)K&&(N=Q,L=F,D=Z,T=O,X=N-4&&L,Y,WE=N==3,M=1)R=requestAnimationFrame,N?(s=' ')x=X,y=Y,q=W,E,m=M,I(D,i(s[y][x]='*',m++-Lm=2,N<4?w<0?1:w?(q=-1q-1N<6?w?(q,qN<8?w::q:q?q+ww:q:qx+=q*(?2:1y+=w,iX=x,Y=y,W=q,E=w,M=m))s.map(aa`)\
- `(''T-60?setTimeout(_R(U1e3/T-16R(U)))()";G=/[-]/.exec(_);)with(_.split(G))_=join(shift());eval(_)
- ```
- [Try it online!](https://hakerh400.github.io/cg/280092/)
#1: Initial revision
# JavaScript (Browser), 670 bytes for(_="=1,w=):=0,w(=f(||(.join`w?q-w?q=-w(a,b=>A(L*5,a),g.innerText=N=L=D=T,I=,c,d)a-d?I,b(d,cd+1c,A=)I(a,(x,y)[...y,b(x)],[](U=_(Kf=({value:a})a==[a|]+[]&&aKQnFlZdOtQ-N|F-L|Z-D|O-T&&(B=Q,e=F,H=Z,V=O,K&=(V>0&V<61&[3,4,6,8].includes(B)&e>1&e<101&H>0&H<=B*(e-1)K&&(N=Q,L=F,D=Z,T=O,X=N-4&&L,Y,WE=N==3,M=1)R=requestAnimationFrame,N?(s=' ')x=X,y=Y,q=W,E,m=M,I(D,i(s[y][x]='*',m++-Lm=2,N<4?w<0?1:w?(q=-1q-1N<6?w?(q,qN<8?w::q:q?q+ww:q:qx+=q*(?2:1y+=w,iX=x,Y=y,W=q,E=w,M=m))s.map(aa`)\\n`(''T-60?setTimeout(_R(U1e3/T-16R(U)))()";G=/[-]/.exec(_);)with(_.split(G))_=join(shift());eval(_) [Try it online!](https://hakerh400.github.io/cg/280092/)