pygame_wrap_class #1
@ -1 +0,0 @@
|
||||
from .interface import *
|
@ -1,21 +0,0 @@
|
||||
import sys
|
||||
import pygame
|
||||
from .helpers import *
|
||||
|
||||
|
||||
def initialize_interface(tiles_x, tiles_y):
|
||||
size = width, height = 800, 800
|
||||
screen = create_screen(size)
|
||||
pygame.display.set_caption('Epic AI Vacuum Cleaner')
|
||||
|
||||
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()
|
Loading…
Reference in New Issue
Block a user