A student of mine is trying to create a program using counters. The idea is to collect all 4 tokens and these are being tracked using a counter. Once the counter equals 4 the Treasure Chest Opens.
We are also making sure that the token in destroyed once it is collected (as we do not want to collect the same token 4 times.)
However, the problem we are having is that the counter is not updating correctly. Any help would be greatly appreciated.