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

TweetTweetMachineView project page

A Fantasy Machine in two tweets (LEGACY)
Submitted by ns — 13 days, 21 hours before the deadline
Add to collection

Play fantasy machine

TweetTweetMachine's itch.io page

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

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

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

Wow, what a cool first jam entry! 😮👍

DeveloperSubmitted

Thank you! I do, however, need to add input, conditionals and maybe random numbers, but the 548 characters are unobfuscated, so if I put time into compressing it, I could probably fit the features in. I’m looking forward to playing your entry (if you’re participating).