Posted February 10, 2022 by enoua5
I noticed the engine had a habit of blundering the queen, so I investigated.
This is basically just telling the AI how much each piece is worth. Awhile ago, I was noticing the queen was even more overpowered in revenge chess than in normal chess, so I considered swapping it for a councilor, the ancient piece that queen replaced. There's a flag I can set that toggles whether the game uses a queen or a councilor. Problem: when setting up the values, I mixed up the queen and councilor values, so the game thinks the queen is worth less than anything but a pawn.
🤦