Doa Vo, I have studied but unfortunately I cannot implement my function.
In technical terms what I need to do is this:
1. looping in prison-white-zone and in prison-black-zone
2. if in prison-white-zone there is a piece matching the type of a piece in prison-black-zone, then those pieces move to a certain zone
3. the loop ends when all prison-white-zone is scanned
In technical terms what I need to do is this:
1. looping in prison-white-zone and in prison-black-zone
2. if in prison-white-zone there is a piece matching the type of a piece in prison-black-zone, then those pieces move to a certain zone
3. the loop ends when all prison-white-zone is scanned
I'm stuck so I really need help. :-)