i captured his king and the game didnt end T^T
I couldn't reproduce this bug, so I made it so that the game ends when a king is captured
Alrighty, thank youu