написал базовую структуру

This commit is contained in:
Игорь
2026-03-18 10:47:21 +03:00
parent f9b062d009
commit a1fe273cc6

21
task1.py Normal file
View File

@@ -0,0 +1,21 @@
import pygame
from pygame.draw import*
pygame.init()
FPS = 30
screen = pygame.display.set_mode((400,400))
#Рисунок
pygame.display.update()
clock = pygame.time.Clock()
finished = False
while not finished:
clock.tick(FPS)
for event in pygame.event.get():
if event.type == pygame.QUIT:
finished = True
pygame.quit()