Programming a chess AI

我怕爱的太早我们不能终老 提交于 2019-12-04 00:25:25

Not sure about what you are trying to do.

If you are looking for a ready-to-use chess GUI, you can use WinBoard. It is completely decoupled from the underlying chess engine(s), thanks to an established communication protocol. Your chess engine thus becomes a console app exchanging commands with the GUI.

A more modern alternative following the same concept is UCI. A GUI supporting UCI is Arena.

I write a Computer Chess Blog that takes you through all the steps of writing a chess engine in C# from scratch, it includes a computer chess links section and a chess game starter kit.

http://www.chessbin.com

Adam Berent

Here are some open source chess boards / games that run on Windows.

  1. Use one of the open source chess games.
  2. Figure out the interface that decides the computer's next move.
  3. Implement your own AI using the same interface and remove the user interface part.
  4. Compare your AI to the included one.
  5. Fun!
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!