Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.32 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.32 KB

ICS3U Tetris Game

Right before the final project that I had to make in ICS3U (Grade 11 Computer Science), I had the task of writing a Tetris clone in Python3.X, using PyGame 1.9.X.

This game is heavily object oriented, which was the point of the assingment. I still don't feel like I totally understand OOP, but I'm sure with enough practice I'll get there.

I ended up getting a 100% on this assignment

Prerequisites

This game runs off of a Python Library called PyGame, and the installation of PyGame is required.

To install PyGame on a unix based system (does not include Mac):

python3 -m pip install pygame --user

To install PyGame on a Windows system:

py -m pip install pygame --user

To install on a Mac or anywhere else, I suggest you Google it.

Running the Game

Right well this is easy.

Navigate to the folder where all the game information is stored in CMD or Terminal and enter the following command:

On Windows:

Tetris.py

Unix:

python Tetris.py

If you have both python2 and python3 installed, run

python3 Tetris.py

Built With