Traktor/config.py

26 lines
526 B
Python
Raw Normal View History

2021-03-16 10:06:56 +01:00
#!/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:
2021-03-16 12:20:06 +01:00
VERTICAL_NUM_OF_FIELDS = 6
HORIZONTAL_NUM_OF_FIELDS = 6
FIELD_SIZE = 64
2021-03-16 10:06:56 +01:00
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'