So i have a jigsaw puzzle with 25 pieces, and there are 25 hit boxes matching them, i want to check if each particular piece is in or (not in) the appropriate position, i know i need to use an array but i don’t know the exact code at the moment.
If you have code that checks that a piece is in the right place, you can do a few things. First you could loop through all pieces each time a piece is put in place, but you could also just keep a running number. So when a piece is put in place, increment the number by 1 and then check if it’s equal to the number of pieces.