4 ms·
Wow it took me 40 or so attempts to beat it. I’m a chess novice but you’d think a human novice should be able to beat a small chunk of JavaScript. This code mu
by alkonaut 6y ago
Wow it took me 40 or so attempts to beat it. I’m a chess novice but you’d think a human novice should be able to beat a small chunk of JavaScript.
This code must be pretty compact even if expanded to readable form? Is there a repo anywhere with this type of chess engine explained and expanded to human readable commented code?
- burkaman 6y agohttps://nanochess.org/ https://nanochess.org/ https://www.lulu.com/shop/oscar-toledo-gutierrez/toledo-nanochess-the-commented-source-code/hardcover/product-21429040.html https://www.lulu.com/shop/oscar-toledo-gutierrez/toledo-nano...
- SatvikBeri 6y agoThe javascript engine: https://nanochess.org/chess4.html#sour https://nanochess.org/chess4.html#sour The slightly older C version: https://nanochess.org/chess1.html https://nanochess.org/chess1.html The author wrote a book commenting and explaining the C version, it's 170 pages long! https://nanochess.org/chess3.html#book https://nanochess.org/chess3.html#book Edit: MicroMax is a close competitor that also has very good explanations on their website https://home.hccnet.nl/h.g.muller/max-src2.html https://home.hccnet.nl/h.g.muller/max-src2.html .
- bluedino 6y agoYou’d be impressed by the old 8 bit chess computers, you should check them out!