repl.it
@AllenLi1/

Pygame test

Pygame

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
import pygame

pygame.init()
width, height = 800, 600
backgroundColor = 255, 0, 0

screen = pygame.display.set_mode((width, height))

while True:
  screen.fill(backgroundColor)
	pygame.display.flip()
Fetching token
?