user exites the game upon correct guess
made user values pass in to function