Plik definiujący wymiary środowiska

This commit is contained in:
Cezary Adamczak 2021-03-28 23:53:09 +02:00
parent 6a5a82eec7
commit e0e530b82f

13
dimensions.py Normal file
View File

@ -0,0 +1,13 @@
# Grid size
GSIZE = 10
# This sets the WIDTH and HEIGHT of each grid location
WIDTH = 35
HEIGHT = 35
# This sets the margin between each cell
MARGIN = 5
# Window size
SCREEN_WIDTH = GSIZE * (WIDTH + MARGIN) + MARGIN
SCREEN_HEIGHT = GSIZE * (HEIGHT + MARGIN) + MARGIN