Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
209 B
1
Indexable
Never
import pygame
import random

# Initialize pygame
pygame.init()

# Define game constants
WIDTH = 800
HEIGHT = 600
PADDLE_WIDTH = 10
PADDLE_HEIGHT = 100
BALL_SIZE = 10
PADDLE_SPEED = 5
BALL_SPEED = 5
SCORE_FONT