board init #1

Merged
s473587 merged 1 commits from init_pygame_board into main 2023-03-07 12:29:14 +01:00
Showing only changes of commit 43c3eaeb81 - Show all commits

26
main.py Normal file
View File

@ -0,0 +1,26 @@
import pygame
#pygame initialization
pygame.init()
#set screen
SCREEN = pygame.display.set_mode((1000, 1000))
pygame.display.set_caption("Traktor_interaktor")
#screen background
def set_screen():
SCREEN.fill((0,100,0))
pygame.display.update()
if __name__ == "__main__":
running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
set_screen()
pygame.quit()