This repository was inspired by the ChatGPT Minesweeper game created by sorrge.
It was created by giving ChatGPT prompts to implement features in this game, with some help from myself when ChatGPT was confused.
To play the game, follow these steps:
- Create a Python 3 virtual environment by running
python3 -m venv envin the directory where you want to run the game. - Activate the virtual environment by running
source env/bin/activateon Linux/macOS orenv\Scripts\activateon Windows. - Install Pygame by running
pip install pygame. - Run the game by executing
python3 Tetris.py.
To deactivate the virtual environment, run deactivate on Linux/macOS or env\Scripts\deactivate on Windows.