@Fhillis/

hide and seek

Pygame

No description

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

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

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

clock = pygame.time.Clock()
while True:
    dt = clock.tick(60)
    screen.fill(backgroundColor)
    pygame.display.flip()