masters-dissertation/utilities/constants.py

16 lines
274 B
Python
Raw Normal View History

import pygame
WIDTH, HEIGHT = 800, 800
ROWS, COLS = 8, 8
SQUARE_SIZE = WIDTH // COLS
2023-09-18 20:11:39 +01:00
# RGB colour
GREEN = 1
WHITE = 2
BLACK = (0, 0, 0)
BLUE = (0, 0, 255)
GREY = (128, 128, 128)
CROWN = pygame.transform.scale(pygame.image.load("./utilities/assets/crown.png"), (45, 25))