Search found 53 matches

by universecoder
Sun Sep 10, 2017 1:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Jump Move Generation in Checkers
Replies: 4
Views: 897

Jump Move Generation in Checkers

Hi, I am finding it difficult to generate a series of 'jump' moves in checkers, although I have been able to generate the 'simple' moves. Also, how do I give jumps/captures precedence over simple moves? Another problem is that the pieces are "wrapping around" the board, how do I avoid that? https://...
by universecoder
Sat Jul 08, 2017 8:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Checkers Bitboard representation
Replies: 11
Views: 2522

Re: Checkers Bitboard representation

In my case, what would be an efficient way to detect out-of-board moves?
by universecoder
Sun Jul 02, 2017 2:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Checkers Bitboard representation
Replies: 11
Views: 2522

Checkers Bitboard representation

I have been writing a checkers program for a few days( without reviewing any literature) and used 3 uint64_t data types ( light, dark and king) for representing the board. Upon reviewing literature( http://www.3dkingdoms.com/checkers/bitboards.htm) I realized that I should have used 32 bit bitboards...
by universecoder
Sun Jun 04, 2017 5:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Incorporating Endgame tablebases
Replies: 13
Views: 3335

Re: Incorporating Endgame tablebases

Any guidance on so as how to I can generate an endgame tablebase myself?
by universecoder
Wed May 24, 2017 6:06 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Incorporating Endgame tablebases
Replies: 13
Views: 3335

Incorporating Endgame tablebases

How would I go about adding an endgame tablebase to a chess engine? What would be the steps to do so?

At one point, do I just stop the search and switch to the tablebase?
by universecoder
Wed Oct 12, 2016 2:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Problem with Negamax
Replies: 36
Views: 3852

Re: Problem with Negamax

Also, my notebook is 10 years old(Core 2 Duo and 2 GB RAM), does this matter much?
by universecoder
Wed Oct 12, 2016 2:10 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Problem with Negamax
Replies: 36
Views: 3852

Re: Problem with Negamax

1. Moving the king can put it into check. 2. Moving when in check can miss to get out of check. 3. Capturing en passant can put the own king into check (if your king is on the same rank as both involved pawns, or if you start with a position that is unreachable from the initial opening position but...
by universecoder
Tue Oct 11, 2016 11:42 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Problem with Negamax
Replies: 36
Views: 3852

Re: Problem with Negamax

Thank You! How do I select the values of alpha and beta anyway, though?
by universecoder
Mon Oct 10, 2016 11:01 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Problem with Negamax
Replies: 36
Views: 3852

Re: Problem with Negamax

I have three commands "perft", "divide" (which prints the perft numbers for each root move) and "selftest" (which runs perft for a fixed set of positions and checks the results).
I did a similar thing too:)
by universecoder
Mon Oct 10, 2016 3:38 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Problem with Negamax
Replies: 36
Views: 3852

Re: Problem with Negamax

Thanks a lot for your help, I had no idea of how to parse these commands. Now I'll modify the engine structure (and a few more variables and methods for various things) so that I can use more of the Chess Engine Communication Protocol. I am reading this page right now: https://www.gnu.org/software/x...