Mines
A downloadable game
Minesweeper in 500 character (minus alot of features :( )
Shinko8 reports 482 characters:
c={}i={}r=64e=311d=24::f::?"⁶1⁶c0⁶!5f2d3" w=stat(32)h=stat(33)for t=0,e do if(not i[t])i[t]=0 if(q)c[t]=1 n=6l=w\4+h\8*d-52if t==l do if btn(5)do c[l]=1while r>0do f=rnd(e)\1if f~=l and i[f]<9do i[f]=9r-=1a=f%d~=0s=f%d~=d-1g=f-d>0j=f+d<e if(a)i[f-1]+="1if(g)i[f-25]+=1" if(s)i[f+1]+="1if(j)i[f+25]+=1" if(g)i[f-d]+="1if(s)i[f-23]+=1" if(j)i[f+d]+="1if(a)i[f+23]+=1" end="" if="" c[t]do="" o="i[t]n+=o+1if(o">8)o="⁙"n=2q=1 else o="▮"end?o,16+t%d*4,16+t\d*8,n end?"⁶.¹³⁷ᶠ³⁴\0\0",w,h,7 goto f</e>
Download
Download
minesv1.p8 557 bytes
Leave a comment
Log in with itch.io to leave a comment.