29 lines
560 B
Python
29 lines
560 B
Python
# 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
|
|
CASTLE_SPAWN_FIRST_ROW = 7
|
|
CASTLE_SPAWN_FIRST_COL = 11
|
|
|
|
# map aliases
|
|
MAP_ALIASES = {
|
|
"GRASS": 0,
|
|
"SAND": 1,
|
|
"WATER": 2,
|
|
"TREE": 3,
|
|
"MONSTER": 4,
|
|
"CASTLE": 5,
|
|
"KNIGHT_RED": 6,
|
|
"KNIGHT_BLUE": 7,
|
|
} |