Skip to content

Jet Game with Asteroids is a 2D arcade game made with Python and Pygame. Control a jet, dodge asteroids, and collect items to score points! Features include smooth scrolling, realistic collision detection, a main menu, game over screen, and background music. Install Python and Pygame, then run game.py to play. Contributions are welcome!

License

Notifications You must be signed in to change notification settings

Wrakie/Jet-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Here's an enhanced version of your README with some added emojis for a more engaging and structured look:


🚀 Jet Game with Asteroids

Overview

Jet Game with Asteroids is a 2D arcade-style game built using Python and Pygame. The player controls a jet, avoiding falling asteroids while collecting items to score points.

✨ Features

  • 🏞️ Smooth background scrolling
  • ⭐ Collectibles to increase score
  • 💥 Collision detection between the player, asteroids, and collectibles
  • 🎬 Main menu and game over screens
  • 🎶 Background music

🖥️ Requirements

  • Python 3.x
  • Pygame library

📥 Installation

  1. Install Python:

  2. Install Pygame:

    • Open your terminal (Command Prompt, PowerShell, or Terminal) and install Pygame using pip:
    pip install pygame
  3. Download the Game Files:

    • Download or clone this repository to your local machine. You should have the following files:
      • game.py (the main game script)
      • background.png (background image)
      • jet.png (jet image)
      • asteroid.png (asteroid image)
      • collectible.png (collectible item image)
      • NEXT!.mp3 (background music)

🎮 Running the Game

  1. Navigate to the Game Directory:

    • Open your terminal and navigate to the directory where you downloaded the game files:
    cd path/to/your/game/directory
  2. Run the Game:

    • Execute the following command to start the game:
    python game.py
  3. Game Controls:

    • Use the arrow keys to move the jet:
      • ⬆️ Up Arrow: Move Up
      • ⬇️ Down Arrow: Move Down
      • ⬅️ Left Arrow: Move Left
      • ➡️ Right Arrow: Move Right
    • Press ENTER to start the game from the main menu.
    • Press Q to quit the game from the main menu or the game over screen.
    • Press R to restart the game after a game over.

🤝 Contributing

Feel free to fork the repository and submit pull requests if you want to contribute to the project.

📜 License

This project is licensed under the MIT License.

🙏 Acknowledgments

  • This game is created using Pygame, a set of Python modules designed for writing video games. For more information, visit Pygame.

Instructions to Create the README File:

  1. 📄 Create a New File: Open your code editor or text editor and create a new file named README.md.
  2. ✍️ Copy the Content: Copy the provided content above and paste it into your README.md file.
  3. 💾 Save the File: Save the file in the same directory as your game files.

📋 Summary of the README Structure:

  • Overview: A brief description of the game.
  • Features: Highlighting key functionalities.
  • Requirements: List of necessary software.
  • Installation: Step-by-step instructions for setting up the game.
  • Running the Game: Instructions on how to execute the game.
  • Game Controls: Control scheme for the player.
  • Contributing: Information for potential contributors.
  • License: Licensing information.
  • Acknowledgments: Credits for libraries or frameworks used.

About

Jet Game with Asteroids is a 2D arcade game made with Python and Pygame. Control a jet, dodge asteroids, and collect items to score points! Features include smooth scrolling, realistic collision detection, a main menu, game over screen, and background music. Install Python and Pygame, then run game.py to play. Contributions are welcome!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages