I'm creating a game that displays images, and if the player clicks on the image, a function is called to update the stats (score/correct answers/incorrect answers). I've stored the images in an array, and within the update stats function I compare the player's answer (image selected) with the array. However, no matter whether correct or not, the player's answer is always classed as wrong and they never get any correct answers. I'm creating a game that displays images, and i