I changed my chess program.
I tested it a few minutes ago and let the program play against itself.
It played: e4, e5, b1-c3, f8-c5, c3-a4, c5-f8, a4-c3 (draw by repetition)
Sometimes testing can be fast.
Short game
Moderators: hgm, Rebel, chrisw
-
- Posts: 138
- Joined: Tue Aug 23, 2011 10:25 pm
- Location: Germany
Re: Short game
I had that early on as well due to bugs in the search.
nanos gigantium humeris insidentes
-
- Posts: 7220
- Joined: Mon May 27, 2013 10:31 am
Re: Short game
Do you know what bugs ? By the way I tried to speed up the evaluation a bit.Codesquid wrote:I had that early on as well due to bugs in the search.
Updating king safety and mobility only if depth or level >= 2
-
- Posts: 138
- Joined: Tue Aug 23, 2011 10:25 pm
- Location: Germany
Re: Short game
IIRC it had something to do with not updating the best move correctly, specifics are lost in time though.Henk wrote:Do you know what bugs ?
Not sure this bit of information helps you though. Your code is different from mine, and different developers do different bugs. Chess engines are too complex to speculate on possible types of bugs without having at least seen your code.
Do you have a public repository with your code?
nanos gigantium humeris insidentes
-
- Posts: 7220
- Joined: Mon May 27, 2013 10:31 am
Re: Short game
No code is private. It's a good thing that implementations are different, otherwise you get clones. It's difficult to create an original implementation that doesn't use ideas of stockfish or crafty and plays a good game.Codesquid wrote:IIRC it had something to do with not updating the best move correctly, specifics are lost in time though.Henk wrote:Do you know what bugs ?
Not sure this bit of information helps you though. Your code is different from mine, and different developers do different bugs. Chess engines are too complex to speculate on possible types of bugs without having at least seen your code.
Do you have a public repository with your code?