counting pieces played; reseting each generation