2023-03-25 12:33:24 +01:00
|
|
|
from cmath import sqrt
|
|
|
|
|
|
|
|
|
2023-05-24 23:22:20 +02:00
|
|
|
screen_width=1200#936
|
|
|
|
screen_height=1000#936
|
2023-03-23 20:52:46 +01:00
|
|
|
SIZE = (screen_width, screen_height)
|
|
|
|
SPECIES=["carrot","potato","beetroot","wheat"]
|
|
|
|
# size in pixels of one tile = 36px/36px
|
|
|
|
tile = (36, 36)
|
|
|
|
block_size = 36
|
2023-03-25 12:33:24 +01:00
|
|
|
road_coords = [0, 5, 10, 15, 20, 25]
|
|
|
|
field_width = 4
|
|
|
|
field_height = 4
|
|
|
|
field_size = field_width*field_height
|
2023-05-24 23:22:20 +02:00
|
|
|
fields_amount = 25
|
2023-04-22 21:31:19 +02:00
|
|
|
|
|
|
|
directions = {0: 'UP', 90: 'RIGHT', 180: 'DOWN', 270: 'LEFT'}
|