English 中文(简体)
Programming a chess AI
原标题:
  • 时间:2009-11-20 09:07:02
  •  标签:
  • chess

I m looking to try and write a chess AI. Is there something i can use on the .NET framework (or maybe even a chess program scripted in Lua) that will let me write and test a chess AI without worrying about actually makign a chess game?

最佳回答

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!




相关问题
how to develop a multi player chess?

I wana develop a multi-player chess using c# but I don t have any idea of how to implement the restriction rules of chess with c# to be honest i ve never done even a little bit of game programming in ...

Chess game in JavaScript [closed]

Is there any Chess game API , purely written in JavaScript ? No Flash! Anybody know the algorithm(in general) used in Chess games ?

C# minimax tree realization

I m trying to write C# Chess AI. At that moment I have to build my minmax tree. I try by using recursion, but my recursive functions has to call itself about 1 000 000 times for every node. I get ...

Chessboard in WPF

For years I ve developed with Winforms, now I want to switch to WPF and make a chessboard. Unfortunately I have no idea where to start. Using WPF makes me very unsure, I m feeling like a noob again. ...

Preventing cheating in online chess games? [closed]

In many online chess lobbies, I ve seen instances of engining , where a cheater would open a chess program at the same time as the main game window. He would then set it up so that the opponent s ...

Programming a chess AI

I m looking to try and write a chess AI. Is there something i can use on the .NET framework (or maybe even a chess program scripted in Lua) that will let me write and test a chess AI without worrying ...

热门标签