SebLague / Chess-Challenge

Create your own tiny chess bot!
https://www.youtube.com/watch?v=Ne40a5LkK6A
MIT License
1.77k stars 1.06k forks source link

How to properly edit Fens.txt #346

Closed SKAE5 closed 1 year ago

SKAE5 commented 1 year ago

It looks like no matter how I edit the Fens.txt file, the board always starts at starting position, instead of the one I put at the first line in the file

Tjalle-S commented 1 year ago

For some reason, the IDE doesn't recognise editing the Fens.txt file as editing the project, so it doesn't rebuild. Going to Build -> Rebuild Solution will fix this (at least, this is how I fixed it, using Visual Studio). Keep in mind that it will take the first FEN string from the list as starting position.

SKAE5 commented 1 year ago

For some reason, the IDE doesn't recognise editing the Fens.txt file as editing the project, so it doesn't rebuild. Going to Build -> Rebuild Solution will fix this (at least, this is how I fixed it, using Visual Studio). Keep in mind that it will take the first FEN string from the list as starting position.

This worked, thank you!