title: PyGame not drawing rectangle
body: <p>pygame not working
  pygame is not drawing any rectangles or any other shapes all I see is a white and blank screen, and for people wondering yeah I have pygame installed</p>
  <p>I am new to oop programming.
  first) main.py
  second) setting.py</p>
  <pre><code>from setting import *
  import pygame
  
  
  class Game:
      def __init__(self):
          pass
      def game(self):
          pygame.init()
          screen = pygame.display.set_mode((WIDTH, HEIGHT))
          pygame.display.set_caption(TITLE)
          clock = pygame.time.Clock()
          running = True
          x=0
          y=0
          for row in MAP:
                  print(row)
                  for pos in row:
                      print(pos)
                      if pos == &quot;x&quot;:    
                          pygame.draw.rect(screen, [0, 0, 255], [x, y, 20, 20], 1)
                          x+=20
          while running:
              clock.tick(FPS)
              for event in pygame.event.get():
                  if event.type == pygame.QUIT:
                      running = False
              
              screen.fill(COLOR)
              pygame.display.flip()
          pygame.quit()
          quit()
  
  
  game = Game()
  game.game()
  </code></pre>
  <p>second) setting.py</p>
  <pre><code>FPS = 60
  WIDTH = 800
  HEIGHT = 600
  COLOR = [255,255,255]
  TITLE = 'test'
  
  
  MAP = [['x', 'x', 'x','x','x', 'x', 'x','x','x', 'x', 'x','x']
        ,['x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x']
        ,['x', ' ', ' ', 'P', ' ', ' ', ' ', ' ', ' ', ' ', 'x']
        ,['x', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'x']
        ,['x', 'x', 'x','x','x', 'x', 'x','x','x', 'x', 'x','x']
  ]
  </code></pre>