Skip to content

Instantly share code, notes, and snippets.

import pygame # pip install pygame-ce
import random
from pygame import gfxdraw
FPS = 60
fpsClock = pygame.time.Clock()
WINDOW_WIDTH = 600
WINDOW_HEIGHT = 800
BOX_OFFSET_TOP = 100