MAP_POS_X = 16
MAP_POS_Y = 2

WEAPON_SPEED = 1

PLAYER = 'P'
MONSTER = 'M'
EMPTY = ' '
DOOR = '>'
MARK = '!'
WALL = '#'
GOLD = '$'
WEAPON = '/'
ACTIVE_WEAPON = '.'
ADD_HEALTH = '+'
SCORE = '@'

SIMPLE_COLOR = 1
ACTIVE_COLOR = 2
WALL_COLOR = 3
GOLD_COLOR = 4
WEAPON_COLOR = 5
HIGHLIGHTED_COLOR = 6
PLAYER_COLOR = 7
DOOR_COLOR = 8
MONSTER_COLOR = 9
ADD_HEALTH_COLOR = 10
SCORE_COLOR = 11
ACTIVE_WEAPON_COLOR = 12

MONSTER_DAMAGE = 1

P_POS = 0
P_HEALTH = 1
P_WEAPON = 2
P_GOLD = 3
P_ACTIVE_DOOR = 4
P_SCORE = 5

MOVE_UP_ACTION = "KEY_UP"
MOVE_DOWN_ACTION = "KEY_DOWN"
MOVE_LEFT_ACTION = "KEY_LEFT"
MOVE_RIGHT_ACTION = "KEY_RIGHT"

ATTACK_UP_ACTION = 'w'
ATTACK_DOWN_ACTION = 's'
ATTACK_LEFT_ACTION = 'a'
ATTACK_RIGHT_ACTION = 'd'

NEXT_DOOR_ACTION = 'q'
PREV_DOOR_ACTION = 'e'

DIRECTIONS = [
	[0, -1],
	[0, 1],
	[-1, 0],
	[1, 0]
]

EXTENDED_DIRECTIONS = DIRECTIONS + [
	[1, 1],
	[1, -1],
	[-1, 1],
	[-1, -1]
]