glinscott / Garbochess-JS

A strong javascript chess engine using WebWorkers
http://forwardcoding.com/projects/ajaxchess/chess.html
Other
310 stars 100 forks source link

Fisher960 #31

Open dirkse opened 2 years ago

dirkse commented 2 years ago

I’m trying to adapt the code for fisher960 random starting positions. I can do that but while playing against the AI after a few moves it gives the busted output. The last move the AI tries to play is mostly a rook move b8-c6 etc but another piece is on b8 at the time due to the random starting positions. Two player mode works as expected. I can bypass the busted else but then I have to choose a move from the movelist in some nonstandard way. Any advice or will the solution become complicated? If there is somewhere I can read more about this code structure and logic maybe point me to it?

dirkse commented 2 years ago

Btw thanks for the code!

coolmenow commented 2 years ago

I see that I should probably look at Lc0...

ghost commented 1 year ago

fisher960 is possible if King's side and Queen's side be possible