In my iterative deepening loop, I need to fetch the PV after each new depth is completely searched in order to print it to the screen and, after the last level, to fetch the best move and make it.
I have been having loads of trouble with my engine after trying to rewrite it, and I think I have ...
Search found 3 matches
- Wed Apr 24, 2013 12:26 am
- Forum: Programming and Technical Discussions
- Topic: Trouble retrieving PV from transposition table after search
- Replies: 2
- Views: 2342
- Wed Jan 02, 2013 8:05 pm
- Forum: Programming and Technical Discussions
- Topic: perft results off by 1 in 700 million; reasons?
- Replies: 8
- Views: 6176
Re: perft results off by 1 in 700 million; reasons?
Thanks for the helpful debugging tip. I modified stockfish to print out the perft(MAXDEPTH-1) results, and went through and found the exact move path that generated the error.
It turns out my "attacks" function was malfunctioning (the function that determines if a square is attacked). I had ...
It turns out my "attacks" function was malfunctioning (the function that determines if a square is attacked). I had ...
- Wed Jan 02, 2013 2:42 am
- Forum: Programming and Technical Discussions
- Topic: perft results off by 1 in 700 million; reasons?
- Replies: 8
- Views: 6176
perft results off by 1 in 700 million; reasons?
I am working through some bugs in my chess engine. I am testing my engine's perft function on "r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1".
The correct results (verified by me with stockfish) can be found here: http://chessprogramming.wikispaces.com/Perft+Results. It is under ...
The correct results (verified by me with stockfish) can be found here: http://chessprogramming.wikispaces.com/Perft+Results. It is under ...