# Ski Tree

My third and final entry to Tweet Tweet Jam 3!

### Controls

⬅️/➡️ - Change direction

X - restart

Cartridge code (made with Pico 8 0.1.12c):

s="//"d=1x=64o={}j=add q={}t=0v=1r=32m=24064p=print::E::cls(7)j(o,{x=rnd(512)-9,y=130})for i in all(o)do i.y-=v p("◆",i.x,i.y+4,6)p("|",i.x+2,i.y+2,4)p("◆",i.x,i.y,3) if(i.y<-6)del(o,i)end for i in all(q)do i.y-=v pset(i.x,i.y,6) if(i.y<0)del(q,i)end ?t.." ★:"..peek4(m),4,4,0 ?"웃",x,29,1 if(btn(0))s="//"d=v if(btn(1))s="\\\\"d=-v for i=1,4 do if(pget(x+i,34)!=7)v=0 end ?s,x,r,13 if(v!=0)x=mid(0,x-d*2,121)for i in all({0,1,6,7})do j(q,{x=x+i,y=r})end t+=1 if(v==0)p("❎ to restart",38,64,0) if(t>peek4(m))poke4(m,t) if(btn(5))run() flip()goto E

## Comments

Log in with itch.io to leave a comment.

It's hard to stay alive but impressive game for such restrictions! Thanks for sharing the code, it is a good inspiration to learn more. I'll check your other games too.