Play game
TweetTweet TrainCraft's itch.io pageHow many characters of code did you use?
560
Include your code here, if you'd like to show it off!
r=rectfill
z=0r(8,0,47,7,3)r(17,4,22,7,5)r(27,2,28,7,4)r(25,1,30,4,11)
?'▤',32,2,6
?'🐱',40,2,7
?'7',44,1
memcpy(0,24576,8191)for i=8192,12287do
poke(i,1+rnd(3))end
x=64y=64f=1q=8r={0,0}w=mset::_::for i=0,16do
w(z,i,0)end
if(f<1)z+=1
b=btn()c=x+(b&2)/2-(b&1)u=y+(b&8)/8-(b&4)/4c=max(0,c)u=mid(1,126,u)m=mget(c\8,u\8)
if(m>0)x=c y=u
if(m==2)w(c\8,u\8,1)r[1]+=1
if(m==3)w(c\8,u\8,1)r[2]+=1
if(m>4and r[1]>1and r[2]>2)w(q,8,4)q+=1r[1]-=2r[2]-=3
w(q,8,5)map(0,0,0,0,128,16)camera(q*8-56,0)f+=1f%=60
?r[1]..'웃'..r[2],x-9,y,9
if(q>127or z>q)run()
flip()cls()goto _
Leave a comment
Log in with itch.io to leave a comment.