SebLague / Chess-Challenge

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

Highlight square from the bot code as a debug #444

Open TiagoFINO opened 11 months ago

TiagoFINO commented 11 months ago

How can I highlight a square on the board, from the bot Think() function, for debugging reasons? I found a function called OverrideSquareColour() in the BoardUI script, but I have no idea how I can use it from the bot Think() function. If you can help, please do, I'd appreciate it.