Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Tetris Project in Python

This is a classic Tetris game implemented using Python and Tkinter for the graphical user interface. The game allows you to control falling tetrominoes, complete lines, and score points.

How to Run the Game

  1. Clone the Repository:
   git clone https://github.com/Andriy852/Tetris-Project-in-Python.git
   cd Tetris-Project-in-Python
  1. Install Dependencies: If Tkinter is not installed with your Python, you can install it using the following:
  • For macOS (using Homebrew)
    brew install tcl-tk
  • For Windows/Linux: Tkinter is generally included with Python, but you may need to install the python3-tk package via your system's package manager if it's missing.
  1. Run the Game: Open a terminal and run the main.py file:
python main.py
  1. Play the Game:
  • Press Start to begin a new game.
  • Use the following controls to play:
    • Down Arrow: Move the tetromino down.
    • Up Arrow: Rotate the tetromino.
    • Left Arrow: Move the tetromino left.
    • Right Arrow: Move the tetromino right.
  • Pause: Press the Pause button to pause the game.
  • Continue: Press the Continue button to resume the game from where it was paused.
  • Complete a Line: Every time you complete a line, you earn 100 points.

About

Tetris project implemented in Python.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages