Pygame-Checkers/checkers/constants.py

14 lines
271 B
Python
Raw Permalink Normal View History

2024-10-07 23:32:29 +00:00
import pygame
WIDTH, HEIGHT = 800, 800
ROWS, COLS = 8, 8
SQUARE_SIZE = WIDTH//COLS
# rgb
RED = (255, 0, 0)
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
BLUE = (0, 0, 255)
GREY = (128,128,128)
CROWN = pygame.transform.scale(pygame.image.load('assets/crown.png'), (44, 25))