diff --git a/project_constants.py b/project_constants.py index b6e666c..68b2b03 100644 --- a/project_constants.py +++ b/project_constants.py @@ -36,14 +36,18 @@ SCREEN = pygame.display.set_mode( # # NORMAL STRUCTS # # USED BY JSON GENERATOR + # used to generate random tile colors STRUCT_TILE_COLORS = ["BLUE", "GREEN", "ORANGE", "PURPLE", "RED", "WHITE", "YELLOW"] + # used to generate random mines and create not random mines STRUCT_MINE_TYPES = ["standard", "chained", "time"] STRUCT_MINE_ASSET_TYPES = ['A', 'B', 'F', 'K'] + # values that are predefined for certain mine types and can't be changed by changing any parameters # put here all dict keys that have hardcoded values and are not supposed to be editable HARDCODED_VALUES = ["asset", "mine_type"] + # default values and key-value pairs for JsonGenerator class # when defining a new mine it's dict template must be put here STRUCT_MINE_ATTRIBUTES = { @@ -62,6 +66,7 @@ STRUCT_MINE_ATTRIBUTES = { "timer": None } } + # types of attributes the mines have # used for random mine generation # int - integral number