2024-03-07 18:01:12 +01:00
|
|
|
# contains all constants
|
|
|
|
import pygame
|
|
|
|
|
|
|
|
WIDTH, HEIGHT = 1000, 1000
|
|
|
|
FIELD_WIDTH, FIELD_HEIGHT = 660, 330
|
2024-03-22 22:14:05 +01:00
|
|
|
ROWS, COLS = 20, 20
|
2024-03-07 18:01:12 +01:00
|
|
|
# number of tiles in a row and column
|
|
|
|
TILE_SIZE = FIELD_WIDTH//ROWS
|
|
|
|
PLANT = ""
|
|
|
|
# path to plant image
|
|
|
|
GROUND = ""
|
|
|
|
# path to ground image
|
|
|
|
GREY = (20, 17, 17, 255)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|