Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

Demons And DumplingsView game page

Avoid Demonic Demons, Eat Delicious Dumplings!
Submitted by honza+0 (@honzaplusnull) — 3 days, 12 hours before the deadline
Add to collection

Play game

Demons And Dumplings's itch.io page

How many characters of code did you use?
548 (556 bytes)

Include your code here, if you'd like to show it off!
p=64r=rnd j=128e={}c=r(j)d=r(j)t=0n=5m=9q=64s=sqrt b=btn::_::flip()?"dead",0,6 if(m<0)goto _ cls()while n>0do if(r(2)\1>0)x=j*(r(2)\1)y=r(j)else x=r(j)y=j*(r(2)\1) add(e,{x=x,y=y,u=r(1)-r(2),v=r(1)-r(2)})n-=1end?"●",c,d,9 if(s((c-p)^2+(d-q)^2)<6)c=r(j)d=r(j)m+=5 for w in all(e)do?"☉",w.x,w.y,8 if(s((p-w.x)^2+(q-w.y)^2)<6)m=-1 w.x=(w.x+w.u)%j w.y=(w.y+w.v)%j if(r(j)\1<1)w.u=r(1)-r(2)w.v=r(1)-r(2)end?"웃",p,q,7 x=0y=0if(b(0))p=(p-1)%j if(b(1))p=(p+1)%j if(b(2))q=(q-1)%j if(b(3))q=(q+1)%j t+=1if(t%j<1and#e<50)n=1 if(t%20<1)m-=1 ?"●"..m,0,0 goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet