Devilcat in the box [<500 chars]
A cute cat trapped in a box. How long can you survive?
Built using PICO-8 in less then 500 characters for TweetTweetJam 11:
m,h=3,0::_::a,b,r,x,y,c,d,l,w,z,q,f,p,s,…=0,0,64,32,32,1,1,1,rnd,btn,flr,1,0,0,.4;i,n=x,y::◆::if(z(0))x-=2 v,t=a+r,b+r if(z(1))x+=2 if(z(2))y-=2 if(z(3))y+=2 if(v>128)c=-w(1)-… if(a<1)c=w(1)+… if(t>128)d=-w(1)-… if(b<1)d=w(1)+… a+=c b+=d f+=.03s+=.03p+=.03if(p>.1)p=0i,n=x,y if(s>4)r-=4s=0;?"\ac" cls(m)rectfill(a,b,v,t,0)rect(a,b,v,t,7)pset(i+2,n+3,7)if(m>3)m=3;?"\ace-g" ?"⧗"..q(f).."★"..h,1,1,7 ?"🐱",x,y,9 flip()if(x<a or x+6="">v or y<b or y+4>t)m=4h=f>h and q(f)or h;goto _ goto ◆

Leave a comment
Log in with itch.io to leave a comment.