2022-05-30 23:34:28 +02:00
|
|
|
# map config
|
|
|
|
KNIGHTS_PER_TEAM_COUNT = 4
|
|
|
|
SAND_COUNT = 21
|
|
|
|
WATER_COUNT = 21
|
|
|
|
TREE_COUNT = 37
|
|
|
|
MONSTERS_COUNT = 2
|
|
|
|
CASTLES_COUNT = 1
|
|
|
|
ROWS = 19
|
|
|
|
COLUMNS = 24
|
|
|
|
KNIGHTS_SPAWN_WIDTH = 4
|
|
|
|
KNIGHTS_SPAWN_HEIGHT = 7
|
|
|
|
LEFT_KNIGHTS_SPAWN_FIRST_ROW = 6
|
|
|
|
LEFT_KNIGHTS_SPAWN_FIRST_COL = 0
|
|
|
|
RIGHT_KNIGHTS_SPAWN_FIRST_ROW = 6
|
|
|
|
RIGHT_KNIGHTS_SPAWN_FIRST_COL = 20
|
|
|
|
|
2022-05-31 01:03:00 +02:00
|
|
|
# map aliases
|
|
|
|
MAP_ALIASES = {
|
|
|
|
"GRASS": 0,
|
|
|
|
"SAND": 1,
|
|
|
|
"WATER": 2,
|
|
|
|
"TREE": 3,
|
|
|
|
"MONSTER": 4,
|
|
|
|
"CASTLE": 5,
|
|
|
|
"KNIGHT_RED": 6,
|
|
|
|
"KNIGHT_BLUE": 7,
|
|
|
|
}
|