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

TweetTronView game page

The classic Tron lightcycle game in a single tweet
Submitted by PrincessChooChoo — 2 days, 4 hours before the deadline
Add to collection

Play game

TweetTron's itch.io page

How many characters of code did you use?
279

Include your code here, if you'd like to show it off!
f=0w=0::_::cls()rect(2,2,126,126,7)c=4x=64y=120z=3h={-1,1,0,0}b=8v={0,0,-1,1}a=x::l::for i=1,4 do if(btn()&1<<i-1>0)z=i if(btn()&1<<i+7>0)c=i end x+=h[z]y+=v[z]a+=h[c]b+=v[c]if(pget(a,b)>0)w+=1goto _ if(pget(x,y)>0)f+=1goto _ pset(a,b,9) ?f,4,4 pset(x,y,12) ?w,4,120 flip()goto l

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet