Skip to main content

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

PicostroikaView game page

Cheap Toppler ripoff in < 560 characters
Submitted by honza+0 (@honzaplusnull) — 3 hours, 11 minutes before the deadline
Add to collection

Play game

Picostroika's itch.io page

How many characters of code did you use?
533

Include your code here, if you'd like to show it off!
a=rnd
b=mid
c=circfill
f=btnp
h=25r={}t={}l=0::t::l+=1for i=2,24do
r[i]=a(12)t[i]=(a(5)-10)/(99/(l/2))r[1]=12r[h]=12t[1]=0t[h]=0end
x=0y=0
::s::cls(1)for i=1,h do
tx=((i-1)%5)*h+14ty=((i-1)\5)*h+13 if(r[i]<=0or r[i]>=12)t[i]*=-1
r[i]+=t[i]c(tx,ty+1,r[i],5)
if(r[i]>=2)c(tx,ty,r[i],11)end
?"웃",(x)*h+11,(y)*h+12,8
?"level "..l,2,2,7
?"★",111,111,10
if(x==4and y==4)goto t
if(r[(y)*5+x+1]<2)goto e
if(f(0))x-=1
if(f(1))x+=1
if(f(2))y-=1
if(f(3))y+=1
x=b(x,4)y=b(y,4)flip()goto s::e::
?"game over",47,2,7
if(f()>0)l=0flip()goto t
goto e

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet