Shootout at the OO corral!
Play game
X to shoot's itch.io pageHow many characters did you use?
560
Include your code here, if you'd like to show it off!
t=0 s=3 w=0 d=60 e=0 p="O" p1=p p2=p p1s="Op" p2s="dO" m="" mr="\nZ to restart" f=10 function TIC() if t%d==1 and w==0 then s=s-1 end if s<0 then s=3 p1=p p2=p end if s==0 and e<=d/2 then e=e+1 else e=0 end if e==d/2 and w==0 then p2=p2s w=-1 end if btn(5) and w==0 then p1=p1s if s==0 then w=1 d=d-f else w=-1 end end cls(3) print(s,114,35) print(p1,36,92) print(p2,176,92) print("X to shoot",90,24,9) if d<=f then mr="" elseif btn(4) and w~=0 then w=0 t=0 s=0 m="" end if w==1 then m="win!"..mr elseif w==-1 then m="lost!"..mr end print(m,100,50,9) t=t+1 end
Leave a comment
Log in with itch.io to leave a comment.