04-24-2021, 10:06 AM
I've just coded the rules for the movement for all the pieces of my game and everything works fine. I want to add a restriction but I don't know how to do it.
I want that pieces that had been promoted on the previous turn are forbidden to move on the current turn. (But only on the current turn not on turns after this.)
Any idea on how this could be done?
I want that pieces that had been promoted on the previous turn are forbidden to move on the current turn. (But only on the current turn not on turns after this.)
Any idea on how this could be done?