Play demake
Chains & That's It (TweetTweetJam 6)'s itch.io pageHow many characters of code did you use?
560 (PICO-8 says 560 but it depends because of special characters)
Include your code here, if you'd like to show it off!
h=0𝘱=print::o::d=0u=0v=0s=128r=rnd
l=flip
z=btn
t=circfill
function i()𝘭=r(8)+8return r(s),r(s)end
f,g=i()p,q=i()x,y=i()m,n=i()j,k,c,e=x,y,f,g::_::a=1
if(z(❎)or z(➡️)or z(⬆️))a=-1
cls()𝘱(h,1,1,4)𝘱(h,0,0,9)b=z()>0if(b)x+=a*(y-e)/w^.4y-=a*(x-c)/w^.4line(x,y,c,e,5)goto 𝘯
c=f
e=g
𝘹=(x-f)^2+(y-g)^2𝘺=(x-p)^2+(y-q)^2w=𝘹
if(𝘹>𝘺)c=p e=q w=𝘺
if(x!=x%s or y!=y%s)h=0goto o
if(not b)x+=u y+=v
::𝘯::t(x,y,3,𝘭)t(f,g,1,5)t(p,q,1,5)t(c,e,1,7)circ(m,n,2,4)circ(m,n,1,9)d+=(x-j)^2+(y-k)^2
if(u|v==0)l()
if(d^2>1)d=0u=x-j v=y-k l()
if((x-m)^2+(y-n)^2<16)h+=1goto o
j=x
k=y
goto _
Leave a comment
Log in with itch.io to leave a comment.