20 lines
490 B
Python
20 lines
490 B
Python
from cmath import sqrt
|
|
|
|
|
|
screen_width=1200
|
|
#screen_width=936
|
|
# screen_height=1000
|
|
screen_height=936
|
|
SIZE = (screen_width, screen_height)
|
|
SPECIES=["carrot","potato","beetroot","wheat"]
|
|
WEATHER=['slonce','wiatr','snieg','deszcz']
|
|
# size in pixels of one tile = 36px/36px
|
|
tile = (36, 36)
|
|
block_size = 36
|
|
road_coords = [0, 5, 10, 15, 20, 25]
|
|
field_width = 4
|
|
field_height = 4
|
|
field_size = field_width*field_height
|
|
fields_amount = 25
|
|
|
|
directions = {0: 'UP', 90: 'RIGHT', 180: 'DOWN', 270: 'LEFT'} |