2023-07-28 19:34:53 +01:00
|
|
|
import pygame
|
|
|
|
|
|
|
|
WIDTH, HEIGHT = 800, 800
|
|
|
|
ROWS, COLS = 8, 8
|
|
|
|
SQUARE_SIZE = WIDTH // COLS
|
|
|
|
|
2023-09-18 20:11:39 +01:00
|
|
|
# RGB colour
|
2023-07-28 19:34:53 +01:00
|
|
|
|
2023-08-22 16:31:16 +01:00
|
|
|
GREEN = 1
|
|
|
|
WHITE = 2
|
2023-07-28 19:34:53 +01:00
|
|
|
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))
|