Added method to display the result of the game