/alien_invasion

2D game implemented with pygame

Primary LanguagePython

👽 Alien Invasion

Alien Invasion is a clone of popular arcade game with the same name. Game was implemented by following the "Python Crash Course" book.

Alien Invasion

Introduction

In Alien Invasion, the player controls a 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.

Requirements

Controls

  • Space

    • Shoot
  • Arrows keys (left - right)

    • Move the ship left / right

How to play

Cloning the Repository

$ git clone https://github.com/Munewxar/alien_invasion.git

$ cd alien_invasion

Running

$ python alien_invasion.py