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

Grab The Green GuyView game page

A <560 Character Game Made For #TweetTweetJam
Submitted by Cody Ward (@cody__ward) — 4 days, 1 hour before the deadline
Add to collection

Play game

Grab The Green Guy's itch.io page

How many characters of code did you use?
559

Include your code here, if you'd like to show it off!
w=128i=.1r=rnd function n(c)return{x=64,y=64,z=0,w=0,d=function(s)line(s.x,s.y,s.x-s.z*2,s.y-s.w*2,c)end,u=function(s) s.x+=s.z s.x%=128 s.y+=s.w s.y%=128 end}end::q::a=n(0)v=n(3)b=n(8)b.x=r(w)b.y=r(w)j=0t=btn::_::f=abs g=6s=0 if(t(⬇️))a.w+=i if(t(⬆️))a.w-=i if(t(⬅️))a.z-=i if(t(➡️))a.z+=i if(f(a.x-v.x)<6 and f(a.y-v.y)<6)then v.x=r(w)v.y=r(w)j+=1 g=3 end if(f(a.x-b.x)<4 and f(a.y-b.y)<4)then g=8 end v.w=r(1)-r(2)v.z=r(1)-r(2)b.w=r(2)-r(1)b.z=r(2)-r(1)cls(g)a:u()v:u()b:u()v:d()b:d()a:d()print("grab the green guy score:"..j,5,5)flip() if(g==8)goto q goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet