Play game
Patrick's Picochallenge's itch.io pageHow many characters of code did you use?
547
If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
poke(24364,3)x="웃"v="▥"h="▤"b={}for i=1,36 do b[i]=i%9<2 and""or"█"end for i in all{"⬆️","➡️",h,"⬅️","⬇️",v,x}do repeat f=1+flr(rnd(36))until b[f]!=""b[f]=i
if(i==x)p=f
end::_::t=btnp cls()for i=0,35 do
k=b[i+1]
?k,i%9*8,6*flr(i/9)+20,k==x and 11 or 7
end b[p]=""q=p
if(t(0))q-=1
if(t(1))q+=1
if(t(2))q-=9
if(t(3))q+=9
if(b[q]and#b[q]>0)p=q t=b[p]
if(t=="⬆️"or t==v)b[p-10]=""b[p-9]=""b[p-8]=""
if(t=="⬇️"or t==v)b[p+10]=""b[p+9]=""b[p+8]=""
if(t=="⬅️"or t==h)b[p-10]=""b[p-1]=""b[p+8]=""
if(t=="➡️"or t==h)b[p+10]=""b[p+1]=""b[p-8]=""
b[p]=x flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
Took me a couple tries to complete! Though I did feel a little confused on the mechanics at first :D Though it was pretty entertaining given the jam restrictions!
Thanks! Yeah, it's actually a demake of an actual puzzle game, which is also itself kind of hard to grasp at first. It doesn't help that I didn't have room to check if the random puzzle is actually solvable or not, hehe.