Play game
Solitaire's itch.io pageHow many characters of code did you use?
498
Include your code here, if you'd like to show it off!
poke(24365,3)poke(24412,-1)●,b=circfill,1t="\ai7c"::❎::k,h=0,{}?"\asfaced"
for y=0,b+3do
for x=0,y do
add(h,{x*12-y*6+64,y*11+50-b*6,t=(x+y)%5+8})end
end::🅾️::cls(4)m,n=stat(32),stat(33)s=nil
for p in all(h)do
x,y=unpack(p)u,v=m-x,n-y
●(x,y,5,2)if(p.t>0)●(x,y,4,p.t)
d=sqrt(u*u+v*v)if(d<6)s=p
end
p=btnp(5)if(p and s and s.t>0)k=s.t s.t=0?t
if btn()<1and k>0do
w=0if(s and s.t<1)s.t,w=k,2
?t..w
k=0end?"❎ ⬆️",4,4,15
●(m,n,1,7)if(k>0)●(m,n,4,k)
flip()if(p and max(m/3,n)<9)b=(b+m\14)%7goto ❎
goto 🅾️
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet