install pygame
# on your terminal :
pip install pygame
# check if pygame run :
py -m pygame.examples.aliens
# if a window is open -> pygame is correctly installed
install pygame
# on your terminal :
pip install pygame
# check if pygame run :
py -m pygame.examples.aliens
# if a window is open -> pygame is correctly installed
pygame
Pygame is a good choice for creating GUI and game dev.
Install:
Windows:
pip install pygame
pygame tutorial
import pygame
pygame.init()
pygame tutorial
crashed = False
while not crashed:
for event in pygame.event.get():
if event.type == pygame.QUIT:
crashed = True
print(event)
pygame.display.update()
clock.tick(60)
pygame tutorial
clock = pygame.time.Clock()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us