writing a chess engine in xx steps

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

writing a chess engine in xx steps

Postby wing » 18 Apr 2011, 15:54

I started a website on writing a bitboard engine, step-by-step.
Think of a bitboard version of TCSP Wink, with Winboard support.
Having a busy full-time dayjob, and more hobbies, this is going to be a long-term project (months, maybe years?).
http://www.sluijten.com/winglet/
wing
 
Posts: 21
Joined: 17 Mar 2011, 10:49

Re: writing a chess engine in xx steps

Postby karlb1 » 19 Apr 2011, 18:09

This tutorial looks very promising.
I wrote a chess engine in VB a few years ago, and only got so far due to my limited programming knowledge, it worked, and you could play against it, but it wasn't that good.
Now, after a few months at university on a computer science course, my programming knowledge has greatly increased, and I have been interested in improving my engine. I have made alot of changes to it, and it now plays alot better, but the main problems I still have are that VB is slow compared to C++, and I have no way of playing it against other engines, other than manually entering the moves, which is obviously not a very good method.
So I have been looking around for a tutorial on how to allow your engine to communicate with win board. And this tutorial looks like it will be one of the best ones out there, once more material has been added to it.
So, just posting to tell you that your tutorial is appreciated, and to motivate you to develop it further.
I understand you have a busy life, and maybe not much time to update the tutorial, but I look forward to it's future development.
Once the tutorial gets to the point where it gives at least a playable engine, I can apply the evaluation techniques to it from my old engine, and maybe we can share evaluation techniques and other features of our engines :wink:
karlb1
 
Posts: 2
Joined: 19 Apr 2011, 14:00

Re: writing a chess engine in xx steps

Postby Dann Corbit » 19 Apr 2011, 18:57

You might look at LarsenVB source code to see how a VB engine can be programmed with Xboard protocol.
Dann Corbit
 

Re: writing a chess engine in xx steps

Postby karlb1 » 20 Apr 2011, 00:32

I have already looked at LarsenVB. However, I think it is much better to follow a tutorial rather than look at source code with no guidance. I also think that VB is outdated and slow, so not a good language to build a chess engine in.
karlb1
 
Posts: 2
Joined: 19 Apr 2011, 14:00

Re: writing a chess engine in xx steps

Postby EdCollins » 20 Apr 2011, 04:12

karlb1,

I'm not about to ask you to change BASIC compilers, but are you familiar with PowerBASIC?

http://www.powerbasic.com/
http://www.powerbasic.com/products/

Note: It's VERY fast.
EdCollins
 
Posts: 71
Joined: 16 May 2010, 09:05
Location: Southern California

Re: writing a chess engine in xx steps

Postby wing » 24 Apr 2011, 15:48

winglet has a board, can display it on the console window, you can set up a position manually,
or read a FEN string from a file.
Some real chess stuff is about to start: move generation.
wing
 
Posts: 21
Joined: 17 Mar 2011, 10:49

Re: writing a chess engine in xx steps

Postby wing » 23 Jun 2011, 15:19

Current functionality of winglet is:
read a FEN string from a file & setting up the board manually
bitboard move generator
evaluation function
alpha-beta pvs search
mate, draw and repetition detection (using hash keys)
iterative deepening and move ordering

Next on the list will be:
quiescence and SEE
Null move pruning
Time control and running test suites
Connecting to Winboard
wing
 
Posts: 21
Joined: 17 Mar 2011, 10:49

Re: writing a chess engine in xx steps

Postby velmarin » 25 Jun 2011, 10:29

Thanks Wing,
very interesting.
Very, very good. :D
velmarin
 
Posts: 1
Joined: 17 Mar 2011, 13:37

Re: writing a chess engine in xx steps

Postby vbce » 09 Jul 2011, 14:55

An excellent tutorial !!! Thank you so much !!!
vbce
 
Posts: 7
Joined: 10 Mar 2011, 06:46


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 7 guests