IntelligentTractor/settings.py

20 lines
491 B
Python
Raw Normal View History

from cmath import sqrt
2023-05-29 13:31:17 +02:00
# screen_width=1200
screen_width=936
2023-05-25 18:11:06 +02:00
# screen_height=1000
screen_height=936
SIZE = (screen_width, screen_height)
SPECIES=["carrot","potato","beetroot","wheat"]
2023-05-25 18:11:06 +02:00
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'}