Play game
Math Quiz's itch.io pageHow many characters of code did you use?
556
Include your code here, if you'd like to show it off!
h=0::s::r,s,t,c,l,f,g,v,w=44,0,128,0,9,flr,rnd,{-1,1,-2,2,-10,10},{2,4,1,8}::_::cls(1)t-=.1 if c==0 then a,b,p=f(2+g(l)),f(2+g(l)),{}c,z=a*b,"⬅️ "..a.." x "..b.." = ➡️" for i=1,#v do d=c+v[i] if(d>0)add(p,d)end for i=1,#p do j=f(1+g(#p))p[i],p[j]=p[j],p[i]end p[f(1+g(4))]=c end ?z,64-2*#z,61,12 ?"⬆️\n\n\n⬇️",60,52 for i=1,4 do a,d=(i-1)/4,p[i] ?d,64+r*cos(a)-2*#(d..""),61+r*sin(a) if w[i]==btnp() then if(c!=d)cls(8)s,c=s-1,0 if(c==d)l,s,c=l+.5,s+1,0 end end rectfill(0,0,t,7,8)rect(0,0,127,7,6) ?"s:"..s.." h:"..h,8,120 if(t<0)h=max(s,h)goto s flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet