Chains & That's It (TweetTweetJam 6)
Controls
clockwise: ➡️, ⬆️, or ❌
counter-clockwise: ⬅️, ⬇️, or ⭕️
Instructions
don't let go while outside the frame ☠️
collect the coins! 📀
This is a demake of my game Chains & Chars for the TweetTweetJam.
(Tweet here: https://twitter.com/evanbindz/status/1408612392582500358
)
Click Here to view code
h=0P=print::o::d=0u=0v=0s=128r=rnd
l=flip
z=btn
t=circfill
function i()L=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()P(h,1,1,4)P(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 N
c=f
--1/3
e=g
X=(x-f)^2+(y-g)^2Y=(x-p)^2+(y-q)^2w=X
if(X>Y)c=p e=q w=Y
if(x!=x%s or y!=y%s)h=0goto o
if(not b)x+=u y+=v
::N::t(x,y,3,L)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
--2/3
j=x
k=y
goto _
--[[3/3
Also interesting to note ❎ is 2ch on twitter but 1ch in CodeRunner 🤔
]]
Some interesting notes
- Puny characters are used to have more single-character variables.
- Comments put this over the character limit
- The ❎ emoji is 2ch on twitter but 1ch in CodeRunner 🤔.
Leave a comment
Log in with itch.io to leave a comment.