-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
42 lines (34 loc) · 996 Bytes
/
Copy pathconfig.py
File metadata and controls
42 lines (34 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# config.py
# 20250101 fekerr & copilot
# Description: This file contains the configuration constants for the project.
# Gravitational constant
G = 0.001
# Boundaries
BOUNDARY_LIMIT = 20 # Adjusted boundary limit for fitting in the window
# Colors and names
COLORS = [
(255, 0, 0), # Red
(255, 165, 0), # Orange
(255, 255, 0), # Yellow
(0, 128, 0), # Green
(0, 0, 255), # Blue
(75, 0, 130), # Indigo
(238, 130, 238),# Violet
(0, 0, 0), # Black (white interior)
(255, 255, 255) # White (black interior)
]
COLOR_NAMES = [
"Red", "Orange", "Yellow", "Green", "Blue", "Indigo", "Violet", "Black", "White"
]
# Display settings
SCREEN_WIDTH = 800
SCREEN_HEIGHT = 600
FRAME_RATE = 30
# Scaling factor
SCALE_FACTOR = 10 # Adjusted scaling factor for fitting in the window
# Log settings
LOG_DIR = "logs"
LOG_FILE_PREFIX = "game_info"
LOG_MAX_BYTES = 1000000
LOG_BACKUP_COUNT = 5
LOG_FORMAT = '%(asctime)s - %(levelname)s - %(message)s'