title: How do I color in specific blocks for a chess board?
body: <p>I made a chess board, but I need help with coloring the different squares. I only have <em>white</em> squares but I need <em><strong>black</strong></em> squares. Here is my code.</p>
  
  <pre><code>import pygame
  def board():   
      width=480         # measurements for the window
      height=480
      block_size=59
      window = pygame.display.set_mode((width,height))
      background_color = (0,0,0)     # This is how I make the lines
      window.fill(background_color)
      for y in range(height):
          for x in range(width):
              rect = pygame.Rect(x*(block_size+1), y*(block_size+1), block_size, block_size)
              pygame.draw.rect(window, (255,255,255), rect)   # Leaves space for lines to be visible.
      pygame.display.flip()
  board()
  
  # It's just the board.
  </code></pre>
  
  <p>I already know I violated PEP 8.</p>