Play game
Bucket Hero's itch.io pageHow many characters of code did you use?
558
If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
cartdata("bh")::z::x,y,p,b,h,f,w,u=61,61,1,8,0,0,btn,peek(24064)e={}::_::cls()if f==1 then
if(#e<p/10)add(e,{x=rnd(100)+14,y=10,c=ceil(rnd(3))+6})
if(w(0))x-=2
if(w(1))x+=2
if(w(2))y-=2
if(w(3))y+=2
if btnp(4) then
if(b<9)b+=1else b=7
end
x+=(61-x)/30
y+=(61-y)/25
else
if(w(4))f=1
?"bucket hero\n\n\n (z) start",43,52,8
end
?"█",x,y,b
for v in all(e) do
if(pget(v.x+2,v.y+2)==v.c)del(e,v)p+=1
?"●",v.x,v.y,v.c
if v.y<113 then v.y+=p/45else
if(p>u)poke(24064,p)
goto z
end
end
rect(0,10,127,117,b)line(0,y+2,127,y+2,b)
?"●"..p.." hi:"..u,46,120
flip()goto _
Leave a comment
Log in with itch.io to leave a comment.