Skip to main content

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

TweetTweetMachineDXView project page

A Fantasy Games Console in 2 tweets
Submitted by ns — 13 days, 16 hours before the deadline
Add to collection

Play fantasy machine

TweetTweetMachineDX's itch.io page

How many characters of code did you use?
428

Include your code here, if you'd like to show it off!
b=btn s=sub
t='c000c001bfc00001'
if(#t\4==0)stop()
n=tonum c=1d={}for i=0,255do
d[i]=0end
d[0]=255k={}for i=0,#t\4-1do
add(k,s(t,i*4+1,i*4+4))end::_::a=n('0x'..s(k[c],1,2))x=n('0x'..s(k[c],3,4))if a==0then
c=x elseif a==191then
if(d[x]==0)c+=1
else
d[a]-=d[x]d[a]%=256end
for i=192,256do
l=i-192rectfill((l%8)*16,(l\8)*16,(l%8)*16+15,(l\8)*16+15,d[i])end
d[1]=0d[2]=0if(b(🅾️))d[1]=1
if(b(❎))d[2]=1
flip()c+=1if(c>#k)stop()
goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

I didn't fully understand what this is doing but I salute you anyway. Congrats!