added functionality to show that the player has won