Skip to content

Commit 491ae63

Browse files
authored
Javascript rewrite: +60% and castling
Rewrote representation of board which gave increased speed in analysis and added castling to MakeMove() and AddKingMoves(). Much optimization still to be done of course, but it is working better than last version. Also able to take parameter fen in URL to get alternative starting position. Player always white, AI always black for now...
1 parent b1b2b6d commit 491ae63

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+542
-336
lines changed

b.bmp

-36 KB
Binary file not shown.

bbb.bmp

-36 KB
Binary file not shown.

bbbs.bmp

-36 KB
Binary file not shown.

bbk.bmp

-36 KB
Binary file not shown.

bbks.bmp

-36 KB
Binary file not shown.

bbn.bmp

-36 KB
Binary file not shown.

bbns.bmp

-36 KB
Binary file not shown.

bbp.bmp

-36 KB
Binary file not shown.

bbps.bmp

-36 KB
Binary file not shown.

bbq.bmp

-36 KB
Binary file not shown.

bbqs.bmp

-36 KB
Binary file not shown.

bbr.bmp

-36 KB
Binary file not shown.

bbrs.bmp

-36 KB
Binary file not shown.

bwb.bmp

-36 KB
Binary file not shown.

bwbs.bmp

-36 KB
Binary file not shown.

bwk.bmp

-36 KB
Binary file not shown.

bwks.bmp

-36 KB
Binary file not shown.

bwn.bmp

-36 KB
Binary file not shown.

bwns.bmp

-36 KB
Binary file not shown.

bwp.bmp

-36 KB
Binary file not shown.

bwps.bmp

-36 KB
Binary file not shown.

bwq.bmp

-36 KB
Binary file not shown.

bwqs.bmp

-36 KB
Binary file not shown.

bwr.bmp

-36 KB
Binary file not shown.

bwrs.bmp

-36 KB
Binary file not shown.

chess.js

+542-336
Large diffs are not rendered by default.

w.bmp

-36 KB
Binary file not shown.

wbb.bmp

-36 KB
Binary file not shown.

wbbs.bmp

-36 KB
Binary file not shown.

wbk.bmp

-36 KB
Binary file not shown.

wbks.bmp

-36 KB
Binary file not shown.

wbn.bmp

-36 KB
Binary file not shown.

wbns.bmp

-36 KB
Binary file not shown.

wbp.bmp

-36 KB
Binary file not shown.

wbps.bmp

-36 KB
Binary file not shown.

wbq.bmp

-36 KB
Binary file not shown.

wbqs.bmp

-36 KB
Binary file not shown.

wbr.bmp

-36 KB
Binary file not shown.

wbrs.bmp

-36 KB
Binary file not shown.

wwb.bmp

-36 KB
Binary file not shown.

wwbs.bmp

-36 KB
Binary file not shown.

wwk.bmp

-36 KB
Binary file not shown.

wwks.bmp

-36 KB
Binary file not shown.

wwn.bmp

-36 KB
Binary file not shown.

wwns.bmp

-36 KB
Binary file not shown.

wwp.bmp

-36 KB
Binary file not shown.

wwps.bmp

-36 KB
Binary file not shown.

wwq.bmp

-36 KB
Binary file not shown.

wwqs.bmp

-36 KB
Binary file not shown.

wwr.bmp

-36 KB
Binary file not shown.

wwrs.bmp

-36 KB
Binary file not shown.

0 commit comments

Comments
 (0)