For one, i had planned to add actual AI instead of it randomly picking pieces, and two the detection is all wonky. I am making an update in order to fix these issues, sadly i didn’t finish it before the deadline so it’ll have to wait. Because the detection is wonky, you literally can win if the game has any slight chance of seeing if the enemy’s king is “checkmated”.