Machine_learning_2023/Interface/main.py

23 lines
406 B
Python
Raw Normal View History

2023-03-11 19:31:43 +01:00
import sys, pygame
from helpers import *
pygame.init()
size = width, height = 1000, 1000
screen = create_screen(size)
tiles_x, tiles_y = 10, 10
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT: sys.exit()
screen.fill(BLACK)
# rect(screen, WHITE, 50,50,90,90)
draw_board(screen, WHITE, width, height, tiles_x, tiles_y)
pygame.display.flip()