Chess Programming/Concepts for Beginners.

Code, algorithms, languages, construction...
MoldyJacket
Posts: 77
Joined: Sun Mar 20, 2011 1:11 am
Location: Charlotte, NC
Contact:

Chess Programming/Concepts for Beginners.

Post by MoldyJacket » Mon Apr 18, 2011 10:19 pm

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.
Nominal Quoting Fanboy

User avatar
Uly
Posts: 838
Joined: Thu Jun 10, 2010 5:33 am

Re: Chess Programming/Concepts for Beginners.

Post by Uly » Mon Apr 18, 2011 10:34 pm

Thanks. Interesting, all the tutorials I've read have seemed too advanced to me, I'll check if this is different.

MoldyJacket
Posts: 77
Joined: Sun Mar 20, 2011 1:11 am
Location: Charlotte, NC
Contact:

Re: Chess Programming/Concepts for Beginners.

Post by MoldyJacket » Wed Apr 20, 2011 5:13 pm

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! :)
Nominal Quoting Fanboy

sluijten
Posts: 3
Joined: Sun Apr 24, 2011 3:55 pm
Real Name: Stef Luijten

Re: Chess Programming/Concepts for Beginners.

Post by sluijten » Sun Apr 24, 2011 3:57 pm

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

tttony
Posts: 2
Joined: Tue Apr 26, 2011 12:55 am
Real Name: Tony Soares

Re: Chess Programming/Concepts for Beginners.

Post by tttony » Tue Apr 26, 2011 1:10 am

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

sluijten
Posts: 3
Joined: Sun Apr 24, 2011 3:55 pm
Real Name: Stef Luijten

Re: Chess Programming/Concepts for Beginners.

Post by sluijten » Tue Apr 26, 2011 2:17 pm

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

tttony
Posts: 2
Joined: Tue Apr 26, 2011 12:55 am
Real Name: Tony Soares

Re: Chess Programming/Concepts for Beginners.

Post by tttony » Tue Apr 26, 2011 7:09 pm

Perfect sluijten I've registered

MoldyJacket
Posts: 77
Joined: Sun Mar 20, 2011 1:11 am
Location: Charlotte, NC
Contact:

Re: Chess Programming/Concepts for Beginners.

Post by MoldyJacket » Tue Apr 26, 2011 9:13 pm

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.
Nominal Quoting Fanboy

Peterpan
Posts: 44
Joined: Sat Nov 27, 2010 7:22 pm
Real Name: Izak

Re: Chess Programming/Concepts for Beginners.

Post by Peterpan » Wed Apr 27, 2011 9:29 am

hi sluijten

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

Regards
Izak

sluijten
Posts: 3
Joined: Sun Apr 24, 2011 3:55 pm
Real Name: Stef Luijten

Re: Chess Programming/Concepts for Beginners.

Post by sluijten » Wed Jul 06, 2011 2:05 pm

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/

Post Reply