Tetris game made with Python and Pygame !
-
Pygame or pygame-ce (I used pygame-ce)
- git clone this repository
git clone git@github.com:LucasColas/Tetris.git
- go to the directory
cd Tetris - run
main.py - Enjoy !
main.py is the entry point. The folder called Game contains the code of the game. The game uses a Piece call to display and rotate a piece. And there's a grid that helps to store the previous pieces and check if a line is complete of if it's the end of the game.
