Short game

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Henk
Posts: 7220
Joined: Mon May 27, 2013 10:31 am

Short game

Post by Henk »

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.
User avatar
Codesquid
Posts: 138
Joined: Tue Aug 23, 2011 10:25 pm
Location: Germany

Re: Short game

Post by Codesquid »

I had that early on as well due to bugs in the search.
nanos gigantium humeris insidentes
Henk
Posts: 7220
Joined: Mon May 27, 2013 10:31 am

Re: Short game

Post by Henk »

Codesquid wrote:I had that early on as well due to bugs in the search.
Do you know what bugs ? By the way I tried to speed up the evaluation a bit.
Updating king safety and mobility only if depth or level >= 2
User avatar
Codesquid
Posts: 138
Joined: Tue Aug 23, 2011 10:25 pm
Location: Germany

Re: Short game

Post by Codesquid »

Henk wrote:Do you know what bugs ?
IIRC it had something to do with not updating the best move correctly, specifics are lost in time though.

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
Henk
Posts: 7220
Joined: Mon May 27, 2013 10:31 am

Re: Short game

Post by Henk »

Codesquid wrote:
Henk wrote:Do you know what bugs ?
IIRC it had something to do with not updating the best move correctly, specifics are lost in time though.

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?
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.