11-27-2020, 03:09 PM
Okay but I am still unclear how I will be able to do two things:
1. apply some operation (in this case "promote") to all the pieces in a stack.
2. Check if a piece meeting some criteria is directly above within the stack some different piece with some different criteria.
1. apply some operation (in this case "promote") to all the pieces in a stack.
2. Check if a piece meeting some criteria is directly above within the stack some different piece with some different criteria.