예제 #1
0
파일: Main.py 프로젝트: artog/intro-prog
__author__ = 'Adam'

import pygame as pg
from Game import Game


pg.init()

screen_width = 400
screen_height = 700
screen = pg.display.set_mode([screen_width, screen_height])


done = False

blocks = []

# blocks.append(currentBlock)
game = Game(screen)
while not game.isDone():

    game.update()

    game.handleEvents()

    pg.display.flip()