"""Constants defining gameplay."""

# dimensions
SCREEN_WIDTH = 1280
SCREEN_HEIGHT = 1024
PLAYER_SPRITE_HEIGHT = 20
PLAYER_SPRITE_HOVER = 100
PLAYER_SPRITE_PADDING = 20
CLOSE_CALL_POSITION = (200, 200)

# display
TARGET_FRAMERATE = 60
GAME_TITLE = "Dodge"
SCORE_POSITION = (20, SCREEN_HEIGHT - 50)

# colors
SCREEN_FILL_COLOR = (0, 0, 0)
PLAYER_SPRITE_COLOR = (255, 255, 255)
OBSTACLE_SPRITE_COLOR = (255, 0, 0)
SCORE_COLOR = (128, 128, 255)
CLOSE_CALL_COLOR = (255, 160, 56)

# gameplay
DEFAULT_LANE_COUNT = 3
DEFAULT_OBSTACLES_PER_SECOND = 0.5
OBSTACLE_MIN_SPEED = 150
OBSTACLE_MAX_SPEED = 500
CLOSE_CALL_THRESHOLD = 10
CLOSE_CALL_POINTS = 5
