Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 957 Bytes

README.md

File metadata and controls

52 lines (36 loc) · 957 Bytes

space-invaders-like

This is a pygame project from scratch, doing this as a personal challenge to use my current skills. I also avoided existing "Space Invaders" tutorials, Instead, I focused solely on learning Pygame from the documentation or forums and exploring its functionality independently.

requirements

  • python 3.10
  • python virtualenv
    pip install virtualenv

how to run the project

  • create the python environment with virtualenv
python -m venv venv
  • run the environment
# linux
source venv/bin/activate
# windows
venv\Script\activate
  • then install python requirements
pip install -r requirements.txt
  • finally run the main python file
python main.py

how to run unit tests

you need to run the virtual env first

python run_test.py