Play game
Lunar Highway's itch.io pageHow many characters of code did you use?
526
Include your code here, if you'd like to show it off!
p,r=print,rnd::๐::l,d,x,y,u={},"",60,116,{}::_::cls(2)b=btnp()memset(25344,0,6656)p("โ",60,4,7)
if(#d>0)repeat p(d.."d! โ to play",30,62)until btn(โ)goto ๐
if(r()>.92)add(u,{c=1+r(15)\1,s=1+r(3)\1,x=128,y=20*(r(50)\10+1)})
x+=8*(1-(1+(b&3))%3)x=mid(4,x,116)y+=8*(1-(1+(b&12))%3)y=mid(4,y,116)i=#u while(i>0)do
c=u[i]p("โ",c.x,c.y,6)p("โ
โ
โ
",c.x,c.y+3)p("โโ",c.x+8,c.y+1,c.c)u[i].x-=c.s if(not(x>c.x+24or c.x>x+8or y>c.y+8or y+8<c.y))d="dea"
if(c.x<-24)deli(u,i)
i-=1end if(y<8)d="save"
p("์",x,y+3,7)p("โ",x,y,12)flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet