Play game
Hack Attack's itch.io pageHow many characters did you use?
559
Include your code here, if you'd like to show it off!
c=color r=rectfill o=btn a=10z=10w=128 f=4g=4 function s(a,f)v=0j=0k=64 for x=1,w do v+=(f/256)y=64+a*sin(v)line(j,k,x,y)j,k=x,y end end::m::flip()cls()c(11) if l then ?l.." levels hacked" end ?"connected\n❎ to hack" if(not o(5))goto m l=0::i::h=0t=w a=rnd(90)-45z=10 a+=10*sgn(a)f,g=rnd(10)+2,4::g::a+=(rnd(l*2)-l)/5cls()fillp(0x33cc)c(1)r(0,0,w,w)c(11)r(0,120,h,124)c(8)r(0,124,t,w)fillp()c(3)s(a,f)c(7) if(o(0))g+=.15 if(o(1))g-=.15 if(o(2))z+=2 if(o(3))z-=2 if(abs(a-z)<6 and abs(f-g)<.3)c(11)h+=10 if(h>=w)l+=1goto i s(z,g)t-=1if(t<=0)goto m flip()goto g
Leave a comment
Log in with itch.io to leave a comment.
Comments
Really fun little mini-game!
I think Splinter Cell had something like this one its games. It brought back memories!
You're absolutely right! The Splinter Cell games are some of my all-time favourites. Was definitely inspired by that :)
Fun and different! Wow, and can be difficult!
Thanks!