Search found 238 matches

by mathmoi
Sun May 26, 2013 1:03 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Check move validity for a pinned pieces
Replies: 6
Views: 2214

Re: Check move validity for a pinned pieces

Thanks to both of you and to Gerd.

I though of using a in_between[64][64] array, but I hoped that I could avoid it because of it's size (32k), but the 0x88 idea will make it much smaller.

Thanks.
by mathmoi
Sun May 26, 2013 3:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Check move validity for a pinned pieces
Replies: 6
Views: 2214

Check move validity for a pinned pieces

Hi, I'm working on my PGN parser again. To disambiguate SAN moves, I work with a Bitboard board representation. Using XRayRookAttacks(...) and xRayBishopAttacks(...) I can identify if a piece is partially pinned. However, I'm not sure how I can generate a bitboard of the squares the partially pinned...
by mathmoi
Sun May 05, 2013 2:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN database (287 millions posiitions)
Replies: 10
Views: 2508

Re: FEN database (287 millions posiitions)

Hi Michael,

You're welcome. I'm happy it can be useful.

mp
by mathmoi
Sat May 04, 2013 9:41 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN database (287 millions posiitions)
Replies: 10
Views: 2508

Re: FEN database (287 millions posiitions)

That's an interesting way to find weak spot in an engine's evaluation.
by mathmoi
Sat May 04, 2013 7:59 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN database (287 millions posiitions)
Replies: 10
Views: 2508

Re: FEN database (287 millions posiitions)

You're welcome.

By curiousity, what do you use thoses for?
by mathmoi
Sat May 04, 2013 1:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN database (287 millions posiitions)
Replies: 10
Views: 2508

FEN database (287 millions posiitions)

Hi, Back in 2005 I posted on rec.games.chess.computer that I had a FEN position database containing millions of positions. Since then a couple of persons emailed me asking to get it usually to use in some research or university projects. I just updated the database and put it on my website if anyone...
by mathmoi
Mon Nov 19, 2012 7:25 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: SAN parser within a PGN parser
Replies: 3
Views: 961

Re: SAN parser within a PGN parser

As you said, the engine possibly has its own SAN code. I would recommend having the code in, if only so you can translate to LAN. I had not tough about that, but you are right. Some engines will not be able to parse SAN moves at all even if they have a move generator. I hate to have to provide a fu...
by mathmoi
Mon Nov 19, 2012 6:00 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: SAN parser within a PGN parser
Replies: 3
Views: 961

SAN parser within a PGN parser

Hi, I'm currently writing a PGN Parser in C, I'll eventually release it as open source in case anyone would like to use it in their own engine/applications. At the current stage, the parser is able to parse complex PGN files and separate all the items of the move text (move, comments, annotations an...
by mathmoi
Tue Oct 16, 2012 3:40 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Chess game data structure in C
Replies: 12
Views: 2772

Re: Chess game data structure in C

Even if I did write it in C++ and offer a C interface to access it from C programs I would still have to deal with the "simulated inheritance" to pass the game back to C programs. That depends on what you offer as part of such an interface, which in turn depends on what a user of your library shall...
by mathmoi
Mon Oct 15, 2012 1:31 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perft helpers
Replies: 43
Views: 9715

Re: Perft helpers: info request.

I'm also running 6 instances since yesterday (really 7 instances on 6 cores). I could run 6 more if/when there is a command line version of the client.