This is a game that involves shooting bullets to destroy incoming marbles. The game has the following features:
- A spaceship that can shoot bullets.
- Randomly generated marbles.
- A rotating Earth image.
- Different marble densities.
- Different marble speeds.
- Different marble sizes.
This game requires Python 3.x and the following packages:
- Pygame
- Clone the repository to your local machine.
- Navigate to the repository folder.
- Install the required packages using the following command:
pip install -r requirements.txt
- Run the game using command
python3 earth_marble_game.py
- Run the game
- Press the arrow keys to shoot bullets.
- Destroy incoming marbles by shooting them.
- Based on color of the marble you earn or lose ten points.
- When you hit red and purple marbles mood of the earth changes to fire and gamma respectively you lose points
- When you hit blue or white the mood changes to water or ice respectively and you earn points
- Game ends after two minutes where you bring impact or no impact.
- Use the four arrow keys to shot randomly from any direction