18 lines
307 B
Python
18 lines
307 B
Python
# contains all constants
|
|
import pygame
|
|
|
|
WIDTH, HEIGHT = 1000, 1000
|
|
FIELD_WIDTH, FIELD_HEIGHT = 660, 330
|
|
ROWS, COLS = 10, 5
|
|
# 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)
|
|
|
|
|
|
|
|
|