Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

Pico Tug-O-WarView game page

Classic button bashing in 560 chars
Submitted by Kosyne — 3 hours, 33 minutes before the deadline
Add to collection

Play game

Pico Tug-O-War'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!
r=rect
f=flip
function g(x,y,c)
?"🐱",x,y,7
?"웃",x,y+4
r(x+2,y+5,x+4,y+7,c) end
::q:: c=0px=50cx=70pc=8u=1cc=12h=0a=10t=0os=1d=0.5b=0w=0dr=flr(rnd(a)+os)
::s:: if(w==0) cls() else f()
if(btnp(🅾️))b=1c=0
if(btnp(❎))c=1
line(px+h,66,cx+h+(u*8),66,9)
g(px+h,60,pc) for i=1,u do g(cx+h+((i-1)*8),60,cc)end r(20,6,108,8,7)
?"|",h+60,5,9
if(h<-40) then
?"win!",53,30,9
w=w+1if(w<80)goto s
w=0h=0d+=d*.08a-=1u+=1
end if(h>47) then
?"lose!",50,30,8
w+=1
if(w<80) goto s
goto q end f() t=t+1
if(b+c==2)h-=1b=0 c=0
if(t==dr)t=0h+=d dr=flr(rnd(a)+os)
goto s

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet