Skip to main content

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

BOREcode (#TweetTweetJam, 557 characters)View game page

Red Alert! Avoid security sweeps and dig your way through firewalls. How long can you last?
Submitted by shy — 9 days, 12 hours before the deadline
Add to collection

Play game

BOREcode (#TweetTweetJam, 557 characters)'s itch.io page

How many characters of code did you use?
557

Include your code here, if you'd like to show it off!
p=9n=127::r::e=1c=0cls(1)function f(x)z=124while pget(x,z)>6do z-=1end
pset(x,z+1)return z<124end::o::a={}u={}for i=1,126do u[i]=i end
y=8v=c\5+5
?"\#7\*a bore𝘤𝘰𝘥𝘲 "..c.."\*b \asエi7e1x1e0",0,1,1
for i=0,v do a[i]=rnd(u)del(u,a[i])end::_::rect(0,0,n,n,7)b=e%3-1
?"웃",p,120,1
p-=b
for j=1,3do d=f(p+1)or f(p+5)end
if(d)d=y%20<1p+=b
?d and"웃\ai6c0"or"웃",p,120,7
for i=1,2*v do
s=a[i%v]g=9-pget(s,y)pset(s,y,g)
if(g==2)y=128
if(i%v<1)y+=1end
::k::flip()l=e e=btn()+1
if(y<126)goto _
if(y<=n)c+=1goto o
?" oh no!\ac0",p&95,99,7
if(y>145and e>l)goto r
y+=1goto k

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted(+1)

This is great! It's a lot more enjoyable than many games that have a lot more code. Congratulations! I would love to see the mechanic extended into fuller game experience.

Submitted(+1)

You pulled off not only a game in 560 characters, but a fun one! The fact that hacking lasers sounds like you're hacking through the jungle. Would be cool if you could cram in a timer display so I could get a sense of how long I'm lasting but I get that that's difficult.


You might be able to save a few characters by saving some reused numbers in a variable. I'm not sure how exact these numbers need to be, if you used the same value/variable for all of your instances of 120,124,127 and 128, you could save a ton of space.


I did something like that with the C and Q variables in my submission, Tweet Attack. It makes the collision detection a little wide but it works, and it allowed me to add a score indicator!

DeveloperSubmitted

Thank you! The number at the top is your score (next to BOREcode) – it’s how many laser falls you’ve survived this run. Could’ve maybe put the score in the text box too, but I liked having the character say “oh no!” instead, lol.

Also yeah, all those big numbers have to be exact. I tried for a while to consolidate them and it wasn’t working, they’re all related to each other so they can’t be the same. The N variable at the top was the best I could do, and I even had to make an if(y<128) into a y<=n to keep the game working. Unfortunate consequence of all the action being at the bottom of the screen… If I could redo this I’d probably make the lasers fall up, so all the number constants would be small.

Submitted

Oh wow, I didn't even see the number on the top until you mentioned it! That makes sense with the numbers. I wouldn't have thought of making the numbers smaller by flipping the game, that's something I might think about for the future