Page 1 of 3

Chess Programming/Concepts for Beginners.

Posted: Mon Apr 18, 2011 10:19 pm
by MoldyJacket
I find this interesting, “Writing a chess program in 99 steps”: http://www.sluijten.com/winglet/.

Apparently Stef Luijten intends for this to be an ongoing blog, and there is a Users Forum which would be a good way to follow the process along with him. But you can’t register, always returns “The confirmation code you entered was incorrect” and there is no code displayed. Anyway, this appears to be an excellent opportunity to get your feet wet in chess programming while he’s beginning and actively involved; I’m looking for my flippers now.

Even if you don’t know C language, he does a good job of explaining many concepts in layman’s terms. I was somewhat tempted to post it in the General Topics for this reason, since many don’t peek in here.

Re: Chess Programming/Concepts for Beginners.

Posted: Mon Apr 18, 2011 10:34 pm
by Uly
Thanks. Interesting, all the tutorials I've read have seemed too advanced to me, I'll check if this is different.

Re: Chess Programming/Concepts for Beginners.

Posted: Wed Apr 20, 2011 5:13 pm
by MoldyJacket
As the topic title implies, I intend for this thread to be a repository of sorts. Everyone is encouraged to post more discoveries anytime, please! :)

Re: Chess Programming/Concepts for Beginners.

Posted: Sun Apr 24, 2011 3:57 pm
by sluijten
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.
Stef Luijten

Re: Chess Programming/Concepts for Beginners.

Posted: Tue Apr 26, 2011 1:10 am
by tttony
Hi, I'm new here and I come to thank to sluijten for his work for that manual: “Writing a chess program in 99 steps”

I was looking for a tutorial like that and that's I want as a rookie chess engine programmer, I'm really new with chess programming but not as C/C++ programmer

I'm afraid with the chess engine because I think it's very very complicated to develop it and many programmers just abandon for the time that they has to spend for improve the chess engine

Thanks again sluijten and I'm sorry for my english

Re: Chess Programming/Concepts for Beginners.

Posted: Tue Apr 26, 2011 2:17 pm
by sluijten
Hi ttony,
It's good to see that someone is reading my website, and maybe even using the code - it keeps me motivated to continue!!
Feel free to post your findings on winglets forum
Stef

Re: Chess Programming/Concepts for Beginners.

Posted: Tue Apr 26, 2011 7:09 pm
by tttony
Perfect sluijten I've registered

Re: Chess Programming/Concepts for Beginners.

Posted: Tue Apr 26, 2011 9:13 pm
by MoldyJacket
Hello Stef,
I see you have been very busy with the website and forum! Great, I’m following too. :)
Field of Dreams: “If you build it, they will come”

I also enjoyed Bruce Moreland’s bag analogy in describing Alpha-Beta Search.

Re: Chess Programming/Concepts for Beginners.

Posted: Wed Apr 27, 2011 9:29 am
by Peterpan
hi sluijten

Thanks for a great Website and Winglet chess Tutorial.
Very much appreciated,keep up the good work.

Regards
Izak

Re: Chess Programming/Concepts for Beginners.

Posted: Wed Jul 06, 2011 2:05 pm
by sluijten
Winglet can play a game (in console-mode). Current functionality is:
Bitboard move generation using magics, iterative deepening, quiescence search, SEE,
null move pruning, mate and draw detection, repetition detection (using hash keys),
time control and running test suites.

Two more sections to write:
Connecting to Winboard
Transposition tables

http://www.sluijten.com/winglet/