Программист

8 subscribers
We'll send a notification about new books, audiobooks, podcasts

Quotes

Создание игр с помощью Pygame

Text
Средний рейтинг 1,7 на основе 3 оценок

import pygame import sys Инициализация Pygame pygame.init() Создание окна screen = pygame.display.set_mode((800, 600)) Основной цикл while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygame.quit()