Writing a chess engine 1: to choose a programming language
Some people mail me to ask how to write a chess engine. So i thought to write some columns to help them. From today i'm going to write a short description about writing a simple chess engine. First of all: English isn't my first language, so if you find mistakes, please sorry and mail me: i'll fix them.
In this column we'll talking about which is the best programming language to write a chess engine. The answer is simple: "The one you know best!". There are engines written in C++, C, Java, Delphi/Pascal, Visual Basic, Assembly...
Mizar is written in C.
From the web you can download a lot of source code and a lot of free compilers or IDE.
About C/C++ i suggest:
Code::Block it is a good IDE and works with a lot of free compiler
Open Watcom is the free release of the old good compiler (work with Code Block)
Digital Mars is a free compiler (work with Code Block)
MinGW it is a "GCC for Windows"
Visual C++ Express 2005 is fast, is free, i think it is the best
Update: now you can download Visual Studio 2008 Express
After that i suggest to use program like CVS to implement revision control.
Many of you have mailed me to say thank you about this column. Thank you too! But there's a better way to say "Thanks" by adding a link to this blog in your blog/website
To be continued... (next chess engine anatomy)
Nessun commento:
Posta un commento
Per favore non dimenticate di inserire il vostro nome o nickname e un riferimento al vostro blog... non amo i commenti anonimi per cui firmatevi. Per evitare spam i commenti ai post più vecchi di 15 giorni sono moderati: non verranno, dunque, visualizzati immediatamente.