The board's layout isn't quite right. Firstly the A1 square should always be black. and the white king should always be placed on E1. I can't promote a pawn either, or en passant, or castle.
hey thankyou for your constructive feedback, really appreciate it, as you can guess I am not a regular chess player, I made this game to learn about ai in turn based strategy games and to write clean code. I ran out of time before adding these features. I will defiantly return to this game and finish the incomplete things