hi, i am creating a puzzle game that have a number of boxes covering a underlying image, i am stuck on how to put the boxes to cover the image and than each boxes can be flipped so as to match to a pair of same boxes so that it will be removed to reveal a part of the image.these are what i have done.
canvas for generating the blocks
canvas of the whole game
canvas of the image to be covered by blocks