added an end to the game along with some adjustments to score