Game Screen

This commit is contained in:
2025-01-19 22:25:45 +02:00
commit a646ea7e0f
4 changed files with 35 additions and 0 deletions

7
constants.py Normal file
View File

@@ -0,0 +1,7 @@
SCREEN_WIDTH = 1280
SCREEN_HEIGHT = 720
ASTEROID_MIN_RADIUS = 20
ASTEROID_KINDS = 3
ASTEROID_SPAWN_RATE = 0.8 # seconds
ASTEROID_MAX_RADIUS = ASTEROID_MIN_RADIUS * ASTEROID_KINDS