Added some common issues to FAQ

This commit is contained in:
Sebastian Lague 2023-07-22 11:35:59 +02:00 committed by GitHub
parent d009f8c70a
commit 3711d23f1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,4 +60,10 @@ All names (variables, functions, etc.) are counted as a single token, regardless
## FAQ and Troubleshooting
* [Running on Linux](https://github.com/SebLague/Chess-Challenge/discussions/3)
* [How to run if using a different code editor](https://github.com/SebLague/Chess-Challenge/issues/85)
* Issues with illegal moves or errors when making/undoing a move
* Make sure that you are making and undoing moves in the correct order, and that you don't forget to undo a move when exitting early from a function for example.
* How to tell what colour MyBot is playing
* You can look at board.IsWhiteToMove when the Think function is called
* GetPiece() function is giving a null piece after making a move
* Please make sure you are using the latest version of the project, there was a bug with this function in the original version