Search found 10 matches

by GrahamA
Fri Apr 03, 2015 10:50 am
Forum: Programming and Technical Discussions
Topic: Incremental movelists
Replies: 3
Views: 2459

Re: Incremental movelists

Yes I had a feeling that when it comes down to raw speed this would loose out to incremental changes. It seems unnatural to waste knowledge gained earlier in a game, but there must be items that are worth "remembering"? One just has to be selective when it comes to rediscovering vs. storage cost ...
by GrahamA
Wed Apr 01, 2015 12:33 pm
Forum: Programming and Technical Discussions
Topic: Obstruction Difference initialization
Replies: 0
Views: 2171

Obstruction Difference initialization

I'm trying out various published move generators (mostly using cpw as my source). One of the ones I want to try/test/integrate is Obstruction Difference. As it states in the code snippet the masks[64][4] structures need initializing; can anyone supply/point me to code for that (I'm implementing in C ...
by GrahamA
Wed Apr 01, 2015 11:36 am
Forum: Programming and Technical Discussions
Topic: Incremental movelists
Replies: 3
Views: 2459

Incremental movelists

Hi all, I've had the idea of using an incremental update of the sides movelists rather than regenerating them from scratch after each makemove. Has this idea been explored, and if so are there references to it, or was it discarded? Either way I'd like to hear other's thoughts on the subject.

The ...
by GrahamA
Mon Mar 30, 2015 5:40 pm
Forum: Programming and Technical Discussions
Topic: Bitboard only - identifying captured piece?
Replies: 3
Views: 2251

Re: Bitboard only - identifying captured piece?

Thanks for your reply. Interesting that they're closely matched, it does mean I could still go without the byte array.

Graham....
by GrahamA
Mon Mar 30, 2015 5:39 pm
Forum: Programming and Technical Discussions
Topic: search without makemove/unmakemove
Replies: 2
Views: 1920

Re: search without makemove/unmakemove

Thanks for your knowledgeable reply.

Graham....
by GrahamA
Mon Mar 30, 2015 1:11 pm
Forum: Programming and Technical Discussions
Topic: Bitboard only - identifying captured piece?
Replies: 3
Views: 2251

Bitboard only - identifying captured piece?

I'm planning on building a bitboard only move generator, and I'm trying to find the most efficient way to identify the captured piece (when there is one). I've read about move encoding with and without piece information; but either at move generation (and hence move encoding) or during makemove a ...
by GrahamA
Mon Mar 30, 2015 12:56 pm
Forum: Programming and Technical Discussions
Topic: search without makemove/unmakemove
Replies: 2
Views: 1920

search without makemove/unmakemove

Hi all,
I'm trying to read as many relevant threads on here as possible and one topic I haven't seen anything on is searching without the make/unmake move combo. What I'm thinking about is that since most search algorithms are implemented in a recursive manner could it not be more efficient (faster ...
by GrahamA
Fri Mar 20, 2015 7:09 pm
Forum: Programming and Technical Discussions
Topic: Chess Programming/Concepts for Beginners.
Replies: 21
Views: 15715

Re: Chess Programming/Concepts for Beginners.

Thanks to User923005 and lukasmonk for the links.

lukasmonk: that's a great link with all the images etc. Thanks.

User923005: thanks for your complete code, it's already been useful. BTW have you tested it with perft 5 or 6 => the node count is wrong when I compile as is with VC2013.

Graham....
by GrahamA
Wed Mar 18, 2015 12:22 am
Forum: Programming and Technical Discussions
Topic: Chess Programming/Concepts for Beginners.
Replies: 21
Views: 15715

Re: Chess Programming/Concepts for Beginners.

Thanks for the link.
Graham....
by GrahamA
Tue Mar 17, 2015 12:49 am
Forum: Programming and Technical Discussions
Topic: Chess Programming/Concepts for Beginners.
Replies: 21
Views: 15715

Re: Chess Programming/Concepts for Beginners.

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

Hi all,
So I've just discovered Winglet and it's an excellent learning tool. However, in section ...