Color Turn
A game made with only 554/560 (2 tweets) characters for the tweettweetjam.
Game Play:
Use the z and x keys to turn the left and the right square. And try to make the face facing the circle match the circles color.
Code:
f=rectfill l=circfill m=btnp::o::z=0n=0v=0r=0t=0s=1p=-1w=10::_:: if(z<33)then if(n==r and v==t)s+=.06p+=1z=128n=flr(rnd(4))v=flr(rnd(4))goto k goto p end::k::z-=s ?p,65,63,1 ?p,64,62,7 l(z,44,3,w+n)l(128-z,84,3,w+v)f(w,34,27,36,w+(3+r)%4)f(30,34,28,51,w+r)f(30,54,13,52,w+(1+r)%4)f(w,54,12,37,w+(2+r)%4)f(118,74,101,76,w+(1+t)%4)f(98,74,100,91,w+t)f(98,94,115,92,w+(3+t)%4)f(118,94,116,77,w+(2+t)%4) if(m(4))r+=1 if(m(5))t+=1 r%=4t%=4flip()cls()goto _::p::j="game over, score: "..p while(m()<1or z<40)do ?j,31,63,1 ?j,30,62,w+(z/5)%4 flip()z+=1end goto o
Leave a comment
Log in with itch.io to leave a comment.