added an exit if the game is a tie