r/ComputerChess • • May 29 '22

Are chess engines “stateless”?

Curious outsider here, no clue how chess engines work so forgive me if this is obvious…

When an engine evaluates its next move, does it only calculate “forward” from the current position? Or does it evaluate the history of the match so far?

Does the answer vary between rule-based and neural-networked engines?

18 Upvotes

9 comments sorted by

View all comments

Show parent comment

5

u/Half_Evolved May 29 '22

Both en-passant and the 50 move rule are included in the current positions FEN. I don't think this would be the engine keeping the history