Tetris Game Python GUI Version

Made with Python & Tkinter, a nostalgic experience of classic gaming

Features

Classic Tetris Mechanics

Implementing all the classic Tetris mechanics we know and love.

Real-Time Brick Movement

Real-time block movement with responsive and accurate controls.

Score Tracking

Track game scores with an efficient storage system.

Built with Python Modules

Built with Python, Tkinter, and additional modules like datetime, scrolledtext, filedialog, etc.

How to use

1

Download or Clone Repository

Download the ZIP file from GitHub or clone the repository using Git. Make sure you have Python 3.x installed on your computer.

2

Extract and Open Folder

Extract the downloaded ZIP file, then open the project folder in your terminal or command prompt.

3

Jalankan Aplikasi

Run the main.py file with the command python main.py in the terminal. The game will immediately open and be ready to play.

4

Start Playing

Use the arrow keys to move the block, the up key to rotate, and the space bar to drop the block instantly.

Docs

This project implements the classic Tetris game using Python with a Tkinter graphical interface.

  • The UI design uses Tkinter for an intuitive and responsive interface
  • The information area uses ScrolledText to display game history
  • Score saving and replay functionality for reviewing previous games
  • File interaction and alerts use the following modules:
    • tkinter.filedialog for opening and saving files
    • tkinter.messagebox for displaying notifications
    • tkinter.simpledialog for user input

This project is open-source and can be used for learning or further development.

Contact