

simple 2 player chess game for #pico1k jam. pseudo-legal implementation which ignores en-passant, castling and promotion. full code (1022 chars): poke(0x5f2d,1)h=stat b={}n=-1 r=circ for k=0,63do b[k]=ord(rnbqkbnrpppppppp________________________________PPPPPPPPRNBQKBNR,k+1)end function z(x)return-sin(x/abs(x*4))end::_::cls()w={}for k=0,63do p=b[k]x,y=k%8,k\8rectfill(x*16,y*16,x+1 95 and 0or 7 if i==k then function a(s,t,f) if((s|t)&~0x7!=0)return j=s+t*8l=z(s-x)+8*z(t-y)c=z(b[j]-95)for m=i+l,j-l...

Tap to see all activity →
No reviews for picochess (#pico1k) yet
Be the first to write one.