Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 about actually makign a chess game?

like image 593
RCIX Avatar asked Nov 20 '09 09:11

RCIX


People also ask

Which AI algorithm is used in chess?

Monte-Carlo Search Tree: The Monte-Carlo search tree is used to make each move: The engine randomly plays a set of moves from a given position. The final position is then evaluated by a neural network, that returns a single value. This process is repeated a certain number of times.

Is there a chess AI that is unbeatable?

AlphaZero, the game-playing AI created by Google sibling DeepMind, has beaten the world's best chess-playing computer program, having taught itself how to play in under four hours.


2 Answers

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.

like image 156
AndreaG Avatar answered Oct 26 '22 17:10

AndreaG


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

like image 42
Adam Berent Avatar answered Oct 26 '22 16:10

Adam Berent