This game is a space-themed arcade shooter where players control a spaceship navigating through an asteroid field. The objective is to survive as long as possible by avoiding collisions with asteroids and shooting them down to earn points.
- Spaceship Movement: The spaceship can rotate and thrust forward. Players use arrow keys for rotation and acceleration.
- Asteroid Spawning: Asteroids appear randomly and move across the screen. They vary in size and speed.
- Collision Detection: The game detects collisions between the spaceship and asteroids, as well as bullets and asteroids.
- Scoring System: Players earn points by destroying asteroids with bullets.
- Arrow Keys: Rotate and accelerate the spaceship.
- Space Bar: Shoot bullets.
- Spaceship Class: Manages the spaceship's position, movement, and rendering.
- Asteroid Class: Handles asteroid properties, movement, and collision detection.
- Bullet Class: Manages bullet trajectory and collision with asteroids.