Skip to content

codebreaker-00/Alien_Invasion_Pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Alien_Invasion_Pygame

In this game we are basially piloting a spaceship and our objective is to destroy the approaching alien fleet before they reach us.

How to start?

1- run it as a python program the main file is 'alien_invasion_game.py' so do "python alien_invasion_game.py".
2- You get an option to "play" game.




The above screen would apear once you run the program click on play to start.

Description

The Number in "Green" represents High-Score.
The Number in "Red" represents Current-Score.
The Number in "Blue" represents Current-level.
The Ship in the Middle Bottom is our_ship/player of the game.
The Fleet Moves Left and right in the same horizontal level and then come closer by some amount in the vertical level.

Controls

Our Player can move in the left/right direction and can shoot bullets.

  • LEFT = move_left
  • RIGHT = move_right
  • SPACEBAR = shoot_bullet
  • Q = quit_game

How Game Ends

The Followings are the criteria by which game can end.

  • You deliberately quit the game by pressing Q.
  • Any one of Alien-ships and Our-Ship collide.
  • Any one of Alien-ships reaches the bottom of the screen.
  • Close the terminal through which you ran the command.

Change in Level and Difficulty

As we destroy all the ships of the alien fleet a new fleet arrives and this one is a stronger one as compared to earlier one as the speed in which they were travelling horizontally in the same vertical height becomes double as compared to the previous level.
So does the vertical speed doubles
But our Ship gets modified level by level too.. Its horizontal speed doubles after every level and also its bullet speed becomes two times of what it was earlier.

Enjoy the Game!!

About

This is a pygame with 10 levels in it.. and believe me you won't be able to finish level 10

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages