News for hackers. Stuff that matters.
Re:A step-by-step guide to building a simple chess AI by matsemann on Friday March 31, 2017 @12:33PM (#14005446)
> I'm having trouble beating a chess program I wrote. Not sure if I'm a bad player or the algorithm is decent

Most beginners will lose to even a chess engine that only looks one step ahead, as it will not drop pieces in obvious ways, but the beginner will.

Chess.js etc. is great btw. Last time I made some chess ai, most of the time was spent generating possible moves. En passant, promotion and stuff adds complexity.

There are no comments on this comment yet.