Skip to content

corbinlazarone/Alien-Invasion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Alien-Invasion

#Game description: In Alien Invasion, the player controls a rocket ship that appears at the bottom center of the screen. The player can move the ship right and left using the arrow keys and shoot bullets using the spacebar. When the game begins, a fleet of aliens fills the sky and moves across and down the screen. The player shoots and destroys the aliens. If the player shoots all the aliens, a new fleet appears that moves faster than the previous fleet. If any alien hits the player's ship or reaches the bottom of the screen, the player loses a ship. If the player loses three ships, the game ends

Game Controls

  • Move ship right (Arrow Right)
  • Move ship left (Arrow Left)
  • Fire bullets (Space Bar)
  • quit game (Q Key Down)

Installation

Prerequisites

  • Python 3.x
  • Pygame

Setting Up the Project

  1. Clone the Repository: git clone https://github.com/yourusername/alien-invasion.git cd alien-invasion

  2. Making Virtual Environment

     python3 -m venv venv
    
  3. Activate Virtual Environment on macOS/Linux:

     source venv/bin/activate
    

    on Windows:

    venv\Scripts\activate
    
  4. With the virtual Environment installed, install required packages

    pip install pygame
    
  5. Run Alein Invasion

    python alien_invasion.py
    

About

A replica to the game Space Invaders

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages