Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 2.12 KB

README.md

File metadata and controls

35 lines (29 loc) · 2.12 KB

Space Invaders

Copy of Space Invaders for Linux using Python & Pygame.
A arcade style game where player have to shoot aliens which are attacking on our planet before they touch the ground.
Player can play this game endless and keep increasing the score.


Game Mechanism :

Bullet are drawn infinitly on the screen. When the bullet is fired it's postion at y-axis decreases which feels like bullet is fired and moving forward.
Player can shoot one bullet at a time unill it reaches the 0th position at y-axis, it gets reset to the orginial position at y-axis from where it was shoot
and x-axis where player is located.
This reseting of bullet works same when it hits any enemy.
Enemies are drawn randomly at the starting of the game and when a bullets hit them.

Programming Languages and Modules :

Python : This game is purely made in Python Programming Language.
Pygame: Pygame is a module provided by Python to create games in Python Programming Language.
(Link to Official Documentation is given below in Resources and References section).

Game-Play

Keyboard keys for Player movement :

A is used for moving player to the Left.
D is used for moving player to the Right.

Mouse key for firing bullet :

Left Mouse Key is used for Firing Bullets at enemy.

Resources and References :