A modern take on the classic game Space Invaders written in Python using Pygame software
This is a modern take on the classic game Space Invaders but with a few differences. First of all, the player has an
option of choosing the colour of a ship. Secondly, enemies have different movement: first stage is moving from
left to right and vice-versa, while second stage is somewhat(pseudo) randomized and based on sin function. Thirdly,
enemies shoot randomly and allowed to have unlimited amount of bullets on a screen. Last and not least, the less enemies are on a
screen more they shoot.
Follow the youtube video to see the actual game:
You need to have python and library pygame installed for this option.
Clone the repo, open the folder and run the sources file
$ git clone https://github.com/DZykov/CSC290.git
$ cd CSC290/
$ python Environment.py
- Player has 10 lives
- Moving Space Invaders that shoot to reduce player's health
- Barriers to block the space invaders bullets
- Wild Mode starts when 14 enemies left
- Ability to choose the colour of a ship
- Start Menu
Action | Button |
---|---|
Move Left | left |
Move right | right |
Fire bullets | spacebar |
This assignment was originally created for the purposes of a Computer Science Communications course, we tried our very best to make sure it reaches professional standards but there is a possibility that it misses the mark.
- Demid - my contributions: Demid's Work
- Asiya - my contributions: Asiya's Work
- Nic - my contributions: Nic's Work
- Simrat - my contributions: Simrat's Work
We know our code is not perfect, in fact it is very far from it. We hope that if you're reading this, you might be interested in being part of the process that betters our work. We encourage you to pull our repo and make changes you think can make Space Invaders: The Next Frontier even better :)
If you have pulled and worked on this code to help improve our game, feel free to add your name here to get your due credit
What we wish we completed and what other game players wish was implemented:
- Add ability to choose the colour of ship
- Add player's health on screen
- Show what kind of mode the game is in
- Create levels based on difficulty (insane mode added)
- Add sounds and music
- Add win/lose scenario with animations
If you would like to add to this or want to report an error or bug, feel free to push to this!