added a timer for 15 seconds and 'collision detection' determining if the user completed the minigame successfully or not