Projekt_AI-Automatyczny_saper/main.py

24 lines
428 B
Python
Raw Normal View History

2021-03-13 21:16:35 +01:00
import pygame
from Engine.Board import Board
WIN = pygame.display.set_mode((800, 800))
FPS = 60
def main():
run = True
clock = pygame.time.Clock()
while run:
pygame.init()
board = Board()
clock.tick(FPS)
for event in pygame.event.get():
if event.type == pygame.QUIT:
run = False
board.draw_squares(WIN)
pygame.display.update()
2021-03-15 19:07:11 +01:00
main()