import pygame

WINDOW_TITLE = 'Trading Simulation'

WIDTH = 1024
HEIGHT = 768

SIMULATION_WIDTH = 1024
SIMULATION_HEIGHT = 768

FLOATING_POINT_RESOLUTION = 0.01

BACKGROUND_COLOR = pygame.Color(0, 0, 0)

FPS = 30
BASE_MS_TO_MINUTES = 1.0 / 1000.0  # i.e. 1s == 1 minute

AGENT_COLOR = pygame.Color(0, 0, 255)
AGENT_DEAD_COLOR = pygame.Color(0, 255, 255)
AGENT_RADIUS = 3

LOCATION_COLOR = pygame.Color(255, 0, 0)
LOCATION_WIDTH = 4

RENDERER_KEY_CONFIG = {
    "left": pygame.K_LEFT,
    "right": pygame.K_RIGHT,
    "up": pygame.K_UP,
    "down": pygame.K_DOWN,
    "adjuster": pygame.K_LSHIFT,
    "zoom_in": pygame.K_EQUALS,
    "zoom_out": pygame.K_MINUS
}

VIEWPORT_ZOOM_ADJUSTER = 2
VIEWPORT_MOVEMENT_ADJUSTER = 10
VIEWPORT_VEL_X = 1
VIEWPORT_VEL_Y = 1
VIEWPORT_ZOOM_VEL = 0.01

DIST_FROM_LOCATION_TO_HIGHLIGHT = 25

INITIAL_AGENT_MONEY = 100
AGENT_SPEED = 10.0
AGENT_MAX_GOODS = 25

EPSILON = 0.001

MIN_AGENTS = 1
MAX_AGENTS = 1
