Space-Invaders---a-IIITH-story
=================== Coded by: Pulkit Gera
This README file contains :
- Information About the Game
- Rules of the Game
- Description of Classes Created
- Instructions on how to Run the Code
- Requirements
About The Game
Space Invaders (Japanese: スペースインベーダー Hepburn: Supēsu Inbēdā) is an arcade video game created by Tomohiro Nishikado and released in 1978.
For more information click here.
Rules of the Game
- Rules are pretty simple
- Enemies are created every 10 seconds or when none are present.
- You have 2 types of missile.
- The first destroys the enemy.
- The second type freezes the enemy for 5 seconds.
Description of Classes Created
Ship:
Creates the ship and is used to move.
Enemy:
Creates the enemy.
Missile:
Creates the basic framework of the missile.
Shorty:
Creates the killer missile.Inherits from missile class.
Longy:
Creates the freezing missile.Inherits from missile class.
How To Play:
- Run the following code to start the game.
python3 run.py- 'a,d' use these controls for left and right.
- use 's' to shoot killer missile.
- use 'space' to shoot freezing missile
- press 'q' to quit.
Reqiurements:
- Python3
For mac:
brew cask update
sudo brew cask install python3
For Linux:
sudo apt-get update
sudo apt-get install python3
sudo pip3 install pygame
Log in or sign up for Devpost to join the conversation.