Nice game! I included it in my TweetTweetJam 2 compilation video series, if you’d like to take a look. :)
Play game
Pico Pipes's itch.io pageHow many characters did you use?
536
Include your code here, if you'd like to show it off!
t=1 b=1 p=0 s=-1 g=2 q=25 u=q
function r(w) u=q b=flr(rnd(4))+1 g=0 s+=w p={} for h=1,s+5 do i=flr(rnd(3)+1)*q j=flr(rnd(75))+q add(p,i) add(p,j) end end
function _update()cls()print(s)if g==2then
r(1)end
for v=1,4 do line(v*q,q,v*q,99,5)end
circ(b*q,99,1,7)circ(t*q,u,1,8)for h=1,s+9,2 do
i=p[h]j=p[h+1]line(i,j,i+q,j,3)end
if g!=1then
if (btnp(1)and t<4)t+=1
if (btnp(0)and t>1)t-=1end
if (btn(3))g=1
if g==1then
if (pget(t*q,u)==7)r(1)
if (pget(t*q,u)==0)r(0)
if (pget(t*q+1,u)==3)t+=1 u+=1
if (pget(t*q-1,u)==3)t-=1 u+=1
u+=1end end
Leave a comment
Log in with itch.io to leave a comment.