Программист

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

Quotes

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

Text
Средний рейтинг 2 на основе 2 оценок

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()