16 lines
274 B
Python
16 lines
274 B
Python
import pygame
|
|
|
|
WIDTH, HEIGHT = 800, 800
|
|
ROWS, COLS = 8, 8
|
|
SQUARE_SIZE = WIDTH // COLS
|
|
|
|
# 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))
|