From the very beginning, the piece cards should have exactly the moves of the corresponding chess pieces. With a little randomness. But I made a mistake somewhere. I knew about it, but there was almost no time left. And I focused on other things. The result - now the game can be completed. So, I hope the choice was right!)