Download and install Python: Visit the official Python website: https://www.python.org/downloads/ Download the appropriate installer for your operating system (Windows/macOS/Linux). During installation, check the box that says "Add Python to PATH", then complete the installation.
After installation, open a terminal (Command Prompt, PowerShell, or Terminal) and run: python --version
pip --version If Python and pip are installed correctly, these commands will display their versions.
Run the following command to install pygame using pip:
pip install pygame
If you haven’t already, clone this repository: git clone https://github.com/imaesp/Space-Invaders.git
Then, run the game with: python main.py