These are 2D Python games built with Pygame I wrote while learning Python. You can found the tutorials in freecodecamp.
To run the games you need to create a virtual environment and install the dependencies with the next commands:
First, clone this repo.
Second, create a virtual environment:
$ python3 -m venv venv
Third, intalls the dependencies:
$ pip install -r requirements.txt
Finally you can run each game with the next command:
Pong
$ python3 pong/pong.py
Tetris
$ python3 tetris/main.py