16 lines
300 B
Python
16 lines
300 B
Python
|
import pygame
|
||
|
|
||
|
WIDTH, HEIGHT = 800, 800
|
||
|
ROWS, COLS = 8, 8
|
||
|
SQUARE_SIZE = WIDTH // COLS
|
||
|
|
||
|
# RGB color
|
||
|
|
||
|
GREEN = (144, 184, 59)
|
||
|
WHITE = (255, 255, 255)
|
||
|
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))
|