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

TweetTweetJAM Entry - Rock Paper ScissorsView game page

Entry for the third tweet jam
Submitted by sileriky — 4 days, 2 hours before the deadline
Add to collection

Play game

TweetTweetJAM Entry - Rock Paper Scissors's itch.io page

How many characters did you use?
546

Include your code here, if you'd like to show it off!
R=rectb P=print M=math a=M.abs G=1 function p(c,x,y)P(c,x,y,15,false,4)end function D()return M.random(0,2)end function v(x,y)if(a(x-160)+a(y-70)<20)then return 0 elseif(a(x-72)+a(y-70)<20)then return 1 elseif(a(x-116)+a(y-110)<20)then return 2 end end cls() P("Pick one of the following:",50,30)H=100 p("8",H,H)p("<",120,H)p("[",65,60)p("]",72,60) p("O",150,60)function TIC()x,y,p=mouse()if(p and G)then G=false C=v(x,y)D()r=D()if(C==r)then P("Draw")elseif((r==0 and C==1)or(r==1 and C==2)or(r==2 and C==0))then P("Won")else P("Lose")end end end

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet