|
|
|
|
|
by benhoyt
396 days ago
|
|
A program that will play chess (written in Go). My 18yo daughter can now beat me at chess (not that I'm any good). I figured if I can't beat her, I'll see if I can write a program to beat her instead. My idea for v1 is that I'd write the algorithm myself, without looking up anything about how to write a chess program (I'm sure such literature abounds). I've just about finished v1; still a few bugs to iron out. To be honest, I didn't find it all that fun, mainly because of all the special cases (all the castling rules and the like). |
|
Lichess has a "humanlike" bot[1] but I haven't played with it yet. I think this problem will haunt you, if you get past the whole "create a chess engine" problem :) I have tried and failed to do this in the past.
[1] https://lichess.org/@/maia1