Added endgame messages to the play function