Nice chain reactions. I included it in my TweetTweetJam 2 compilation video series, if you’d like to take a look. :)
Play game
Tweet command's itch.io pageHow many characters did you use?
557
Include your code here, if you'd like to show it off!
t=1>0
z=1>1
c={t,t,t,t,t}m={}q,s=0,1
s=9
p=rnd
e=0
u=0
a=0
v=120
h=del
poke(0x5f2d,1)l=stat
k=circ
b=print
while t do
x=l(32)y=l(33)cls()k(x,y,1)if l(34)>0 and e<0then
e,u,a=x,y,0 end
a+=1if a>10then
e,u,a=-20,9,0 end
k(e,u,a)q+=s/9/30 if q>1then
q=0
n={}n.g=flr(p(5)+1)n.x=p(v)n.o,n.y=n.x,0
add(m,n)end
for n in all(m)do
i,j=n.x,n.y
k(i,j,2)n.y+=1
n.x-=(n.o-n.g*24)/v
if sqrt((e-i)^2+(u-j)^2)<a then
e,u,a=i,j,0 s+=1 h(m,n)end
if n.y>v then
c[n.g]=z
h(m,n)end
end
j=t
for i=1,5 do
if c[i]then
b("🐱",i*24,v)j=z
elseif i>4 and j then run()end
end flip()end
Leave a comment
Log in with itch.io to leave a comment.