Skip to content

jamescarr0/space_invaders

Repository files navigation

Space Invaders

Recreating the classic space invaders game using the Pygame module in Python.

Alt text

Run

Using a virtual env (Bash/ZSH linux/mac)

git clone https://github.com/jamescarr0/space_invaders

cd space_invaders

python -m venv venv

source venv/bin/activate

pip install -r requirements.txt

python main.py

Windows (cmd.exe/Powershell)

As above, but rather than using source venv/bin/activate to the activate the venv use one of the following..

cmd.exe - venv\Scripts\activate.bat

PowerShell - venv\Scripts\Activate.ps1

Controls

Arrow keys left and right to move the spaceship

Spacebar to fire a missile

Press 'Q' to quit at any time.

Credits

Background sound.
Sci-fi Laboratory Ambience by Iwan Gabovitch under CC-BY 3.0 License with sounds by wolick, swiftoid, Diboz

About

Recreating the classic space invaders game using the Pygame module in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages