Forums

How to make a chess engine

Sort:
Snowcat14

Hi.  I have recently taken an intrest in chess engines and would like to make one.  The problem is, I don't know how.  is there anyone that can help me?  Thanks.

Lou-for-you

Houdini is a UCI chess engine developed by Belgian programmer Robert Houdart. It is influenced by open source engines IPPOLIT/RobboLito, Stockfish, and Crafty. Earlier versions are free for non-commercial use (up to version 1.5a), but later versions (2.0 and onwards) are commercial. So you build on the open source ones to start..

Lou-for-you

Houdart has houdini playing matches all day long against other engines and on the rare occasion of a loss he analyses the game as to find the cause and improve the engine..

Snowcat14

I want to make a chess engine to play against for fun.  It doesn't have to be good.

Lou-for-you

Wow, all romanians can do that? Fascinating...

waffllemaster

Well first you have to learn a programming language and probably have at least a few years experience in programming.  Then you'd be good enough to make some crude ones by yourself.

EscherehcsE

One of these days I might gather up enough courage to try creating an engine myself. I've been told it will end up taking far more of your time than you could ever imagine.

The way I understand it, you'll need to decide on the programming language to use. (I'll probably try regular C.)

Start reading forums where the chess programmers hang out, like Talkchess:  http://talkchess.com/forum/index.php

You'll want to start out simple. Use a simple program to study to learn the basic concepts. (Forget even looking at something as complicated as Houdini.) For the first attempt, you'll probably be doing good to just create a working engine, never mind if it's even any good.

A couple of links to start:

http://chessprogramming.wikispaces.com/

http://adamsccpages.blogspot.com/p/chess-programming-resources.html

Snowcat14

Thank you all for your helpful comments.

DiogenesDue
jadarite wrote:

So, another thing you might consider is teaming up with other computer programmers and work as a team. One could program in as white, the other black.  Then switch. 

This is a completely nonsensical statement...

Bigthirtynanster

shut up diogenesdue

DiogenesDue
Bigthirtynanster wrote:

shut up diogenesdue

The thread was was not posted on for 11 years before you bumped it. Are you normally upset by things that happened when you were (just guessing here based on you avatar and post...) 3?