chstan / Chess-Engine

A weak C language chess engine
5 stars 1 forks source link

Board fails to apply moves, or notation.c fails to extract them consistently #22

Closed chstan closed 12 years ago

chstan commented 12 years ago

This seems to be the root of a movecount error at

r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1

Running performance-test 4 off this node does not match the correct value, and it seems that certain moves are missing because the board becomes corrupted at some point down the line.

chstan commented 12 years ago

This has been fixed. The issue was that there was a typo in advanceState where the black castling constants were updated.