You all have surely heard of Tetris, the mega-successful nostalgic game. I knew a little pygame and thought of making a game in Python. This game's inspired from Tetris (Which is my favourite video game(Don't laugh at me))
- This game is a refurbished version of Tetris, with different blocks which make it a lot harder
- As it's Python, supported in all OS
- The pixel graphics and the old-style interface is bound to burst nostalgia to a 80s, 90s or even a 2000's gamer
-
Visit the Python website and download your preferred python version. (Here, Python 3.8.8 is recommended)
-
Make sure Python is added to PATH
-
Download the project zip file and extract it in a folder
-
Open the directory through Powershell (Windows) / Terminal (Mac) and follow the commands-
Windows -
pip install pygame==2.0.1
Mac-
pip3 install pygame==2.0.1
- Linux disros usually have python installed in them, but if not, you can alternatively do it
Ubuntu and Derivatives-
$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt update
$ sudo apt install python3.8
$ sudo apt install python-pip3
Check your installations by running both python3 -V
and pip3 -V
in terminal, and if both return versions, congratulations, you installed python successfully
-
Now Download the project zip file and extract it to a location
-
Run:
cd location; pip3 install pygame==2.0.1
- Now you can run the python file in a code editor (VS Code, Sublime Text 3 , Thonny, PyCharm etc.)
Images- space.png provided by Tech with Tim Crazy - Patrick Patrikios.mp3 provided by Patrick Patrikios from Youtube Audio Library