title: Add congratulation message pong gosu
body: <p>I just started learning ruby and gosu. The code I am using right now is a reference from someone else code.</p>
  
  <p>This is a 2 player Pong ruby game. The game is working and is able to play. I am trying to set it so that any player reach to the score of 10, the game will stopped and show the message "Player 1/2 wins" and prompt the players whether they want to continue playing.</p>
  
  <p>My problem now is to show the message when one of the player score reach 10 followed by prompting the user if they want to continue.</p>
  
  <p>(Disclaimer this is not my original code, i only use it to learn.)</p>
  
  <pre><code>if @player_1.score == 2
    @state = :stopped
    @message.draw_text('WIN',100,100,2)
  end
  
  if @player_2.score == 2
    @state = :stopped
  end
  </code></pre>
  
  <p>This code is inside class Gosu::Window (I can't quite figure out how to put the whole code here since this is my first time)</p>
  
  <p><a href="https://i.stack.imgur.com/FgN3Z.png" rel="nofollow noreferrer">screenshot 2</a></p>
  
  <p><a href="https://i.stack.imgur.com/b3naM.png" rel="nofollow noreferrer">screenshot 1</a></p>