Avoid the worms

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

A game in 560 characters of code for TweetTweetJam 4.

Avoid the hungry worms and collect as many hearts as you can. Your score is the number of hearts you get.

https://www.lexaloffle.com/bbs/?tid=37758

This game was made for #TweetTweetJam and contains only 559 characters of code, including art. The code is below:

_set_fps(60)h=0
::s::s,l,p,t=0,0,{{1,1.9}},0
x,y,c,d=64,32,32,32
::_::cls()t+=.003
if(l<flr(t))p[l+2]={.2+rnd(1.2),.2+rnd(1.5)}l+=1
for j=1,#p do
color(2+j%10)q=p[j]
for i=0,.1,.01 do
k=t+i
a,b=q[1]*k,q[2]*k
r=62*sin(a)
u,v=64+r*cos(b),64+r*sin(b)
circfill(u,v,2)
end
end
if(btn(0))x-=1
if(btn(1))x+=1
if(btn(2))y-=1
if(btn(3))y+=1
x,y=mid(6,x,122),mid(6,y,122)
if(pget(x,y)!=0)h=max(h,s)cls(8)flip()flip()goto s
?"★",x-4,y-3,12
?"♥",c-4,d-3,8
if(mid(c-6,x,c+6)==x and mid(d-3,y,d+3)==y)c,d,s=6+rnd(116),6+rnd(116),s+1
?"s: "..s.." h: "..h,0,0,13
flip()goto _
Platforms
Release date
Developer
SkyBerron
Age rating
Not rated

System requirements for Web

Read more...
Avoid the worms screenshot, image №2377304 - RAWG
Edit the game info
Last Modified: May 8, 2020

Where to buy

itch.io