title: Creating a game board with Tkinter
body: <p>I am trying to build a simple game of <strong><a href="https://en.wikipedia.org/wiki/Connect_Four" rel="nofollow noreferrer">Connect Four</a></strong> with <strong><a href="http://www.python.org/" rel="nofollow noreferrer">Python(2.7)</a></strong><br></p>
  <p>I have created a board, that consists of a simple multidimensional Python list.<br>
  My Board list looks like this:</p>
  <pre><code>board = [
      [_,_,_,_,_,_,_,_,_,_],
      [_,_,_,_,_,_,_,_,_,_],
      [_,_,_,_,_,_,_,_,_,_],
      [_,_,_,_,_,_,_,_,_,_],
      [_,_,_,_,_,_,_,_,_,_],
      [_,_,_,_,_,_,_,_,_,_],
      [_,_,_,_,O,_,_,_,_,_],
      [_,_,_,_,X,_,_,_,_,_],
      [_,_,_,_,X,O,_,_,_,_],
      [_,_,_,_,X,O,_,_,_,_],
  ]
  </code></pre>
  <p>Were X is <strong>Player1</strong> and O is <strong>Player2</strong> (or Computer).</p>
  <p>Now, I have created some basic code for the <strong>GUI</strong>, like this:</p>
  <pre><code># Connect 4 Game
  import Tkinter
  
  screen = Tkinter.Tk()
  screen.title(&quot;My First Game&quot;)
  
  #Create a board
  board = Tkinter.Canvas(screen,width=500,height=500)
  board.pack()
  
  screen.mainloop()
  </code></pre>
  <p><strong>Question:</strong> How can i create a visual representation of the board, so that for every list, there is a rectangle? Also, is there a way to detect, when a rectangle is clicked and replace the corresponding list value?</p>