- Write my own chess AI algorithm
- Use a freeware chess engine
- Find some simple open source chess game and copy/paste game logic from it.
I really don't think writing my own AI would be a good idea, it's a problem for a month alone. I just want to make a chess game, why breaking a open door?
There's a lot of ready-to-go chess engines over the Internet. It's a small, individual program that can make a chess decisions and communicate with a chess GUI by standard system pipes. Personally I think that it's the best idea - I just need to write some communication protocol based on the UCI or something. So I take a look over the Internet. OMG. After hours of searching I've found the article that describes this problem best:
http://novelthought.org/talking-to-chess-ai-using-c/
And my reaction was:
OK, so here's my try. I've found this:
https://github.com/tobijk/simple-chess
Yesterday I've made a Player vs Player possible version, so adding a CPU option to this should be quite simple. Today I'll try to connect these functions above...
No comments:
Post a Comment