Wally
original at https://wongkongphooey.itch.io/wheres-wally
::⌂::r=rnd q=flr l=line z=btn
c={}w={}g=4*q(r(32))h=4*q(r(32))i=64j=64k=8s=999
for i=0,1024,1 do w[i]=q(r(3))c[i]=1+r(14)end::◆::y=0
cls(3)for x=4,4096,4 do a=x%128u=a n={}b=y
p=x/4 a+=w[p]n.v=c[p]n.t=0n.u=n.v
if(a==g+w[p]and b==h)n.v=8n.u=7n.t=0
l(a+1,b,a+1,b,15)l(a,b+1,a+2,b+1,n.v)l(a,b+2,a+2,b+2,n.u)b+=3l(a,b,a,b,n.t)l(a+2,b,a+2,b,n.t)
?s,2,2,7
if(u==0)y+=4
end circ(i,j,4,k)
if(g>i-3 and g<i+3 and h>j-3 and h<j+3)then k=11
i,j=g,h
?'win',21,64,7
if(z(5))goto ⌂
else s-=1
if(z(0))i-=1
if(z(1))i+=1
if(z(2))j-=1
if(z(3))j+=1
end flip()goto ◆
Status | Released |
Platforms | HTML5 |
Author | Fridgeasaur |
Made with | PICO-8 |
Leave a comment
Log in with itch.io to leave a comment.