Space Invader PyGame

Tutorial Reference: Pygame Tutorial for Beginners - Python Game Development Course

Followed the tutorial to make the Space Invader game using PyGame.

Instructions

Before continuing, make sure Python 3.9 (or later) is installed. Git is optional but recommended to be installed. If Git is not installed, the project can still be downloaded as a zip file from GitHub.

  1. Download and navigate to the folder

    $ git clone git@github.com:AlkaffAhamed/Space-Invader-PyGame.git
    $ cd Space-Invader-PyGame
  2. Create virtual environment

    $ python -m venv venv
  3. Activate the virtual environment

    # Windows
    $ venv\Scripts\activate
    
    # Linux/MacOS
    $ source venv/bin/activate
  4. Install PyGame

    $ pip install pygame
  5. Run main.py

    $ python main.py
  6. Deactivate the virtual environment

    $ deactivate