after a game is over, release resources and go to score screen