#pygame0_code_minimal_en.py #White #Dark #txt #download

        
#!coding: utf-8
from __future__ import print_function, division

import pygame
pygame.init()

size = [700, 500]
screen = pygame.display.set_mode(size)

BLACK = [0, 0, 0]
WHITE = [255, 255, 255]
RED = [255, 0, 0]
GREEN = [0, 255, 0]
BLUE = [0, 0, 255]

# START

clock = pygame.time.Clock()

done = 0
while done == 0:
    
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            done = 1
    
    # TICK

    # DRAWING
    screen.fill(WHITE)
    
    pygame.draw.rect(screen, RED, [100,200, 20,40])
    pygame.draw.circle(screen, BLUE, [100, 200], 20)
    pygame.draw.circle(screen, GREEN, [150, 80], 10)

    pygame.display.flip()
    
    clock.tick(60)
    
pygame.quit()