Astronaute-Game is a simple space-themed game developed using Python and the Pygame library. The game involves controlling an astronaut character to avoid falling comets while exploring space and learning interesting facts about planets and celestial bodies in the solar system.
-
Clone the Repository:
https://github.com/nisrine21/Astronaute-Game.git cd Astronaute-Game
-
Install Dependencies: Ensure you have Python installed on your system. Additionally, install the required Python packages using pip:
pip install pygame
-
Run the Game: Execute the
main.py
file to start the game:python main.py
- Use the left and right arrow keys to move the astronaut character horizontally.
- Dodge the falling comets to avoid getting hit.
- Collect points by surviving as long as possible.
- The game periodically provides interesting facts about planets and celestial bodies in the solar system if the player maintains their lives.
- Throughout the game, players will receive periodic information about planets and celestial bodies in the solar system.
- These facts are displayed on the screen, offering players educational content while playing.
- The provision of information is contingent upon the player maintaining their lives throughout the game.