Play game
Memory 560's itch.io pageHow many characters of code did you use?
559
If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
a=0
w=btnp
j=2
z=6
u=35
g={}b={}n={}for x=0,u do::x::c=flr(rnd(z*z))
if(n[c])goto x
n[c]=1
b[x]=flr(c/2)end
s,o,d,p=20,-1,0,-1::_::cls(j>u and 5*t())if w(4)and d<1 then
if o<0 then
o=s
elseif s!=o then
p=s
d=60
a+=1
if(b[s]==b[o])g[s]=1 g[o]=1 j+=1
end
end
if(w(0))s-=1
if(w(1))s+=1
if(w(2))s-=z
if(w(3))s+=z
if(d<1 and p>=0)p=-1 o=-1
s=mid(0,s,u)d-=1
for i=0,u do
v=o==i or p==i or g[i]x,y=i%z*16+16,16+16*flr(i/z)k=b[i]rectfill(x,y,x+14,y+14,i==s and 7 or v and k%5+2 or 1)
?v and sub("∧●♥⧗♪ˇ⌂🐱✽",k%8+1,k%8+1)or"",x+4,y+5,k/2%7+6
end
?a,60,0,9
flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet