Tetris

A Tetris game built in class with the Python programming language.

A Tetris game built in class with the Python programming language and the Tkinter graphics library.

A game in progress: the board, the next piece and the score

Features

Controls

Code structure

The game follows a Model-View-Controller architecture split across three files: modele.py (the board, shapes, collisions and score), vue.py (the Tkinter display) and pytetris.py (the controller, which handles key presses and the game loop).

Source code on GitHub