Adds mouseListener to gamePanel to detect when cards are clicked.