Traktor/config.py
2021-03-16 13:27:39 +01:00

26 lines
526 B
Python

#!/usr/bin/python3
__all__ = (
'WIDTH', 'HEIGHT', 'FIELD_SIZE',
'VERTICAL_NUM_OF_FIELDS', 'HORIZONTAL_NUM_OF_FIELDS',
'C_RED', 'C_GREEN', 'C_BLUE', 'C_BLACK',
'FPS','CAPTION'
)
# Board settings:
VERTICAL_NUM_OF_FIELDS = 6
HORIZONTAL_NUM_OF_FIELDS = 6
FIELD_SIZE = 60
WIDTH = HORIZONTAL_NUM_OF_FIELDS * FIELD_SIZE
HEIGHT = VERTICAL_NUM_OF_FIELDS * FIELD_SIZE
# Colors of Fields
C_RED = (255, 0, 0)
C_GREEN = (0, 255, 0)
C_BLUE = (0, 0, 255)
C_BLACK = (0, 0, 0)
# Other settings
FPS = 10
CAPTION = 'Tractor'