Skip to content

KernFerm/Tetris

🎮 Tetris Game


⚠️ No Issues with This Game!

  • If you want to FORK it, GO FORK IT! 🍴
  • Make sure you have an account to FORK the repo 🔐.
  • This script is protected by PyArmor, so it will run the same and keep all the settings intact 🔒.

📥 How to Download the Repo (First-Time Users)

Click the link to read Instructions 📄.


🛠️ Installing Dependencies

Use the requirements.bat file to install the necessary dependencies before running the game ⚙️.


🐍 Python Versions

If you don’t have Python installed, here are some options:


🚀 How to Run the Game

  1. Unzip the Folder: Make sure the folder is unzipped and placed in an easily accessible location (like your desktop) 🗂️.

  2. Open Command Prompt: Press Win + R, type cmd, and press Enter 💻.

  3. Navigate to the Game Folder:

    • Type cd (don’t forget the space), then drag and drop the unzipped folder into the command prompt window and press Enter.
  4. Run the Game: In the same command prompt window, type the following command and press Enter:

    python tetris.py
    

🎮 How to Play

  • Use the arrow keys to move the blocks ⬅️➡️.
  • Press the up arrow key to rotate the blocks 🔄.
  • Try to stack blocks and clear lines to score points! 🏆

🔧 Troubleshooting (Score Issues)

If you have previously downloaded the game and are experiencing issues with the score not tracking:

  • Option 1: Open tetris.py in Python and adjust the width and height settings to 300, 550.
  • Option 2: You can also just download the file again, and everything should work fine 👍.

Enjoy playing Tetris and challenge yourself to clear as many lines as you can! 🎉